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

Unified Diff: build/common.gypi

Issue 11414180: Add a gyp flag to allow removing dependency on ppapi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
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'],
}],
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_remover.h » ('j') | content/browser/plugin_data_remover_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698