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

Unified Diff: build/common.gypi

Issue 10031002: Allow extension APIs to be compiled out. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unneeded resources Created 8 years, 8 months 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 d56a3b5d02a6c87a6c0e00b7ec696a53d2127aa1..9e52cc6c7dddb587a5ff45380c700b0c2f1f9310 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -218,6 +218,9 @@
# and extensions Web Intents support.
'enable_web_intents%': 1,
+ # Enable Chrome browser extensions
+ 'enable_extensions%': 1,
+
# Enable Web Intents web content registration via HTML element
# and WebUI managing such registrations.
'enable_web_intents_tag%': 0,
@@ -503,6 +506,7 @@
'asan%': '<(asan)',
'order_text_section%': '<(order_text_section)',
'enable_register_protocol_handler%': '<(enable_register_protocol_handler)',
+ 'enable_extensions%': '<(enable_extensions)',
'enable_web_intents%': '<(enable_web_intents)',
'enable_web_intents_tag%': '<(enable_web_intents_tag)',
'enable_plugin_installation%': '<(enable_plugin_installation)',
@@ -795,6 +799,7 @@
'configuration_policy%': 0,
'input_speech%': 0,
'enable_web_intents%': 0,
+ 'enable_extensions%': 0,
'java_bridge%': 1,
# Android does not support themes.
'enable_themes%': 0,
@@ -1370,6 +1375,11 @@
'ENABLE_WEB_INTENTS=1',
],
}],
+ ['enable_extensions==1', {
+ 'defines': [
+ 'ENABLE_EXTENSIONS=1',
+ ],
+ }],
['OS=="win" and branding=="Chrome"', {
'defines': ['ENABLE_SWIFTSHADER'],
}],
« no previous file with comments | « no previous file | chrome/browser/extensions/app_notify_channel_ui.cc » ('j') | chrome/chrome_browser_extensions.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698