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

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: Addressed Jay's comments and rebase 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
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_remover.h » ('j') | chrome/chrome_browser.gypi » ('J')
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 c94af17e0566d3d4507471328f26557b629fd948..5c9920dae3028d4ccc22825daeed014211372927 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -376,6 +376,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,
@@ -525,6 +528,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,
@@ -674,6 +683,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)',
@@ -1869,6 +1879,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') | chrome/chrome_browser.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698