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

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: Add extensions_api_resources resources to windows targets 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
« no previous file with comments | « no previous file | chrome/browser/extensions/app_notify_channel_ui.cc » ('j') | no next file with comments »
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 6373c041e4923d4cb83f911bf6bd160baa8e27c4..4a8227b047970b16a91c240433696c4f8c3cb5b8 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -223,6 +223,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,
@@ -515,6 +518,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)',
@@ -813,6 +817,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,
@@ -1013,6 +1018,9 @@
['OS=="android"', {
'grit_defines': ['-D', 'android'],
}],
+ ['enable_extensions==1', {
+ 'grit_defines': ['-D', 'enable_extensions'],
+ }],
['clang_use_chrome_plugins==1', {
'clang_chrome_plugins_flags':
'<!(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)',
@@ -1402,6 +1410,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698