Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(956)

Unified Diff: build/common.gypi

Issue 384793002: naaaaaacl Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 73cbf21ca26aab4e3049d955d23ad64a11c587e5..a1b74f41d9de3d78a51161e6fd7c489a171bf0e8 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -29,12 +29,12 @@
'asan%': 0,
# Set this to true when building with Clang.
- 'clang%': 0,
+ 'nacl_clang%': 0,
'conditions': [
['OS=="mac"', {
# On Mac only clang is new enough to build the trusted code.
- 'clang%': 1,
+ 'nacl_clang%': 1,
# The Mac SDK is set for iOS builds and passed through to Mac
# sub-builds. This allows the Mac sub-build SDK in an iOS build to be
# overridden from the command line the same way it is for a Mac build.
@@ -263,7 +263,7 @@
],
# TODO(jrg): options for code coverage on Windows
}],
- ['clang==1', {
+ ['nacl_clang==1', {
'cflags': [
'-Wheader-hygiene',
# Clang spots more unused functions.
@@ -490,7 +490,7 @@
'-ffunction-sections',
],
'conditions': [
- ['clang==1', {
+ ['nacl_clang==1', {
'cflags!': [
'-fno-ident',
],
@@ -534,9 +534,9 @@
'conditions': [
['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES'},
{'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'}],
- ['clang==1', {
- 'CC': '$(SOURCE_ROOT)/<(clang_dir)/clang',
- 'LDPLUSPLUS': '$(SOURCE_ROOT)/<(clang_dir)/clang++',
+ ['nacl_clang==1', {
+ 'CC': '$(SOURCE_ROOT)/<(nacl_clang_dir)/clang',
+ 'LDPLUSPLUS': '$(SOURCE_ROOT)/<(nacl_clang_dir)/clang++',
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'WARNING_CFLAGS': [
'-Wheader-hygiene',
@@ -566,9 +566,9 @@
],
},
'conditions': [
- ['clang==1', {
+ ['nacl_clang==1', {
'variables': {
- 'clang_dir':
+ 'nacl_clang_dir':
'<(DEPTH)/third_party/llvm-build/Release+Asserts/bin',
},
}],
@@ -813,7 +813,7 @@
},
},
}],
- ['clang==1 and nacl_standalone==1', {
+ ['nacl_clang==1 and nacl_standalone==1', {
'make_global_settings': [
['CC', 'third_party/llvm-build/Release+Asserts/bin/clang'],
['CXX', 'third_party/llvm-build/Release+Asserts/bin/clang++'],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698