diff options
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 37526e2..d1dfc65 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -154,6 +154,10 @@ # Set to select the Title Case versions of strings in GRD files. 'use_titlecase_in_grd_files%': 0, + # Used to disable Native Client at compile time, for platforms where it + # isn't supported + 'disable_nacl%': 0, + 'conditions': [ ['OS=="linux"', { 'conditions': [ @@ -847,6 +851,13 @@ ], }, }], + ['disable_nacl==1', { + 'target_defaults': { + 'defines': [ + 'DISABLE_NACL', + ], + }, + }], ['msvs_use_common_linker_extras', { 'target_defaults': { 'msvs_settings': { |