Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 0daf4440f775d6bf7e0884519a7593afdfab7f2d..32ad913317564f8a3dc35f21178413585230d65e 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -372,6 +372,9 @@ |
# Enable plug-in installation by default. |
'enable_plugin_installation%': 1, |
+ # Enable ppapi by default. |
+ 'enable_ppapi%': 1, |
+ |
# Enable protector service by default. |
'enable_protector_service%': 1, |
@@ -521,6 +524,12 @@ |
}], |
['OS=="android" or OS=="ios"', { |
+ 'enable_ppapi%': 0, |
+ }, { |
+ 'enable_ppapi%': 1, |
+ }], |
+ |
+ ['OS=="android" or OS=="ios"', { |
'enable_protector_service%': 0, |
}, { |
'enable_protector_service%': 1, |
@@ -670,6 +679,7 @@ |
'enable_web_intents%': '<(enable_web_intents)', |
'enable_web_intents_tag%': '<(enable_web_intents_tag)', |
'enable_plugin_installation%': '<(enable_plugin_installation)', |
+ 'enable_ppapi%': '<(enable_ppapi)', |
'enable_protector_service%': '<(enable_protector_service)', |
'enable_session_service%': '<(enable_session_service)', |
'enable_themes%': '<(enable_themes)', |
@@ -1865,6 +1875,9 @@ |
['enable_plugin_installation==1', { |
'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], |
}], |
+ ['enable_ppapi==1', { |
+ 'defines': ['ENABLE_PPAPI=1'], |
+ }], |
['enable_protector_service==1', { |
'defines': ['ENABLE_PROTECTOR_SERVICE=1'], |
}], |