| 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'],
|
| }],
|
|
|