forked from nwjs/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Add GYP overrides to build Node.js with Chromium toolchain.
This is an ongoing rework of toolchain selection for building Node.js. See nwjs/nw.js#5960 and nwjs/nw.js#5971 for current problems.
- Loading branch information
Showing
2 changed files
with
379 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright (c) 2013 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
{ | ||
'targets': [ | ||
{ | ||
'target_name': 'asan_dynamic_runtime', | ||
'type': 'none', | ||
'variables': { | ||
# Every target is going to depend on asan_dynamic_runtime, so allow | ||
# this one to depend on itself. | ||
'prune_self_dependency': 1, | ||
# Path is relative to this GYP file. | ||
'asan_rtl_mask_path': | ||
'../../third_party/llvm-build/Release+Asserts/lib/clang/<!(python ../../tools/clang/scripts/update.py --print-clang-version)/lib/darwin', | ||
'asan_osx_dynamic': | ||
'<(asan_rtl_mask_path)/libclang_rt.asan_osx_dynamic.dylib', | ||
}, | ||
'conditions': [ | ||
['OS=="mac"', { | ||
'copies': [ | ||
{ | ||
'destination': '<(PRODUCT_DIR)', | ||
'files': [ | ||
'<!(/bin/ls <(asan_osx_dynamic))', | ||
], | ||
}, | ||
], | ||
}], | ||
], | ||
}, | ||
], | ||
} |