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

Unified Diff: build/common.gypi

Issue 8352025: Move the definition of disable_nacl% inside a conditional (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 | chrome/chrome_exe.gypi » ('j') | 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 9e3fe7ca8127bd6e1270e61c9b1a059a157a0ad4..aaecfdd40711c95dd1256a0c63d81604a01920e0 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -539,10 +539,6 @@
# Set to 1 to link against gsettings APIs instead of using dlopen().
'linux_link_gsettings%': 0,
- # Used to disable Native Client at compile time, for platforms where it
- # isn't supported
- 'disable_nacl%': 0,
-
# Set Thumb compilation flags.
'arm_thumb%': 0,
@@ -608,6 +604,13 @@
'icu_src_dir': '../third_party/icu',
'conditions': [
+ # Used to disable Native Client at compile time, for platforms where it
+ # isn't supported (ARM)
+ ['target_arch=="arm"', {
+ 'disable_nacl%': 1,
+ }, {
+ 'disable_nacl%': 0,
+ }],
['os_posix==1 and OS!="mac" and OS!="android"', {
# This will set gcc_version to XY if you are running gcc X.Y.*.
# This is used to tweak build flags for gcc 4.4.
« no previous file with comments | « no previous file | chrome/chrome_exe.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698