Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index fbc7da64cc4c0b2587856da5a72f87faf764a090..1027cabc0bd84f4b6b555b4acebf8382d40879c6 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -340,6 +340,11 @@ |
# but that doesn't work as we'd like. |
'msvs_debug_link_incremental%': '2', |
+ # TODO(dmichael): eliminate this when possible. |
+ # This flag, when 0, makes ppapi build without synchronous scripting |
+ # support in public interfaces. This is a temporary transitional option. |
+ 'pepper_scripting%': 1, |
+ |
# Needed for some of the largest modules. |
'msvs_debug_link_nonincremental%': '1', |
@@ -710,6 +715,10 @@ |
['enable_flapper_hacks==1', { |
'defines': ['ENABLE_FLAPPER_HACKS=1'], |
}], |
+ ['pepper_scripting==0', { |
+ 'defines': ['PPAPI_INSTANCE_REMOVE_SCRIPTING', |
+ 'PPAPI_VAR_REMOVE_SCRIPTING'], |
+ }], |
['fastbuild!=0', { |
'conditions': [ |
# For Windows, we don't genererate debug information. |