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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/extensions/app_notify_channel_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 # Whether one-click signin is enabled or not. 216 # Whether one-click signin is enabled or not.
217 'enable_one_click_signin%': 0, 217 'enable_one_click_signin%': 0,
218 218
219 # Enable navigator.registerProtocolHandler and supporting UI. 219 # Enable navigator.registerProtocolHandler and supporting UI.
220 'enable_register_protocol_handler%': 1, 220 'enable_register_protocol_handler%': 1,
221 221
222 # Enable Web Intents support in WebKit, dispatching of intents, 222 # Enable Web Intents support in WebKit, dispatching of intents,
223 # and extensions Web Intents support. 223 # and extensions Web Intents support.
224 'enable_web_intents%': 1, 224 'enable_web_intents%': 1,
225 225
226 # Enable Chrome browser extensions
227 'enable_extensions%': 1,
228
226 # Enable Web Intents web content registration via HTML element 229 # Enable Web Intents web content registration via HTML element
227 # and WebUI managing such registrations. 230 # and WebUI managing such registrations.
228 'enable_web_intents_tag%': 0, 231 'enable_web_intents_tag%': 0,
229 232
230 # Webrtc compilation is enabled by default. Set to 0 to disable. 233 # Webrtc compilation is enabled by default. Set to 0 to disable.
231 'enable_webrtc%': 1, 234 'enable_webrtc%': 1,
232 235
233 # PPAPI by default does not support plugins making calls off the main 236 # PPAPI by default does not support plugins making calls off the main
234 # thread. Set to 1 to turn on experimental support for out-of-process 237 # thread. Set to 1 to turn on experimental support for out-of-process
235 # plugins to make call of the main thread. 238 # plugins to make call of the main thread.
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 'chromium_win_pch%': '<(chromium_win_pch)', 511 'chromium_win_pch%': '<(chromium_win_pch)',
509 'p2p_apis%': '<(p2p_apis)', 512 'p2p_apis%': '<(p2p_apis)',
510 'configuration_policy%': '<(configuration_policy)', 513 'configuration_policy%': '<(configuration_policy)',
511 'safe_browsing%': '<(safe_browsing)', 514 'safe_browsing%': '<(safe_browsing)',
512 'input_speech%': '<(input_speech)', 515 'input_speech%': '<(input_speech)',
513 'notifications%': '<(notifications)', 516 'notifications%': '<(notifications)',
514 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', 517 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
515 'asan%': '<(asan)', 518 'asan%': '<(asan)',
516 'order_text_section%': '<(order_text_section)', 519 'order_text_section%': '<(order_text_section)',
517 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', 520 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)',
521 'enable_extensions%': '<(enable_extensions)',
518 'enable_web_intents%': '<(enable_web_intents)', 522 'enable_web_intents%': '<(enable_web_intents)',
519 'enable_web_intents_tag%': '<(enable_web_intents_tag)', 523 'enable_web_intents_tag%': '<(enable_web_intents_tag)',
520 'enable_plugin_installation%': '<(enable_plugin_installation)', 524 'enable_plugin_installation%': '<(enable_plugin_installation)',
521 'enable_protector_service%': '<(enable_protector_service)', 525 'enable_protector_service%': '<(enable_protector_service)',
522 'enable_session_service%': '<(enable_session_service)', 526 'enable_session_service%': '<(enable_session_service)',
523 'enable_themes%': '<(enable_themes)', 527 'enable_themes%': '<(enable_themes)',
524 'enable_background%': '<(enable_background)', 528 'enable_background%': '<(enable_background)',
525 'enable_promo_resource_service%': '<(enable_promo_resource_service)', 529 'enable_promo_resource_service%': '<(enable_promo_resource_service)',
526 'linux_use_gold_binary%': '<(linux_use_gold_binary)', 530 'linux_use_gold_binary%': '<(linux_use_gold_binary)',
527 'linux_use_gold_flags%': '<(linux_use_gold_flags)', 531 'linux_use_gold_flags%': '<(linux_use_gold_flags)',
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 810
807 # Always uses openssl. 811 # Always uses openssl.
808 'use_openssl%': 1, 812 'use_openssl%': 1,
809 813
810 'proprietary_codecs%': '<(proprietary_codecs)', 814 'proprietary_codecs%': '<(proprietary_codecs)',
811 'enable_task_manager%': 0, 815 'enable_task_manager%': 0,
812 'safe_browsing%': 0, 816 'safe_browsing%': 0,
813 'configuration_policy%': 0, 817 'configuration_policy%': 0,
814 'input_speech%': 0, 818 'input_speech%': 0,
815 'enable_web_intents%': 0, 819 'enable_web_intents%': 0,
820 'enable_extensions%': 0,
816 'java_bridge%': 1, 821 'java_bridge%': 1,
817 # Android does not support themes. 822 # Android does not support themes.
818 'enable_themes%': 0, 823 'enable_themes%': 0,
819 824
820 # Android does not support background apps. 825 # Android does not support background apps.
821 'enable_background%': 0, 826 'enable_background%': 0,
822 827
823 # Android does not support promo resources service. 828 # Android does not support promo resources service.
824 'enable_promo_resource_service%': 0, 829 'enable_promo_resource_service%': 0,
825 830
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 ['use_third_party_translations==1', { 1011 ['use_third_party_translations==1', {
1007 'grit_defines': ['-D', 'use_third_party_translations'], 1012 'grit_defines': ['-D', 'use_third_party_translations'],
1008 'locales': [ 1013 'locales': [
1009 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia', 1014 'ast', 'bs', 'ca@valencia', 'en-AU', 'eo', 'eu', 'gl', 'hy', 'ia',
1010 'ka', 'ku', 'kw', 'ms', 'ug' 1015 'ka', 'ku', 'kw', 'ms', 'ug'
1011 ], 1016 ],
1012 }], 1017 }],
1013 ['OS=="android"', { 1018 ['OS=="android"', {
1014 'grit_defines': ['-D', 'android'], 1019 'grit_defines': ['-D', 'android'],
1015 }], 1020 }],
1021 ['enable_extensions==1', {
1022 'grit_defines': ['-D', 'enable_extensions'],
1023 }],
1016 ['clang_use_chrome_plugins==1', { 1024 ['clang_use_chrome_plugins==1', {
1017 'clang_chrome_plugins_flags': 1025 'clang_chrome_plugins_flags':
1018 '<!(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)', 1026 '<!(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)',
1019 }], 1027 }],
1020 1028
1021 # Set use_ibus to 1 to enable ibus support. 1029 # Set use_ibus to 1 to enable ibus support.
1022 ['use_virtual_keyboard==1 and chromeos==1', { 1030 ['use_virtual_keyboard==1 and chromeos==1', {
1023 'use_ibus%': 1, 1031 'use_ibus%': 1,
1024 }, { 1032 }, {
1025 'use_ibus%': 0, 1033 'use_ibus%': 0,
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
1395 ['enable_task_manager==1', { 1403 ['enable_task_manager==1', {
1396 'defines': [ 1404 'defines': [
1397 'ENABLE_TASK_MANAGER=1', 1405 'ENABLE_TASK_MANAGER=1',
1398 ], 1406 ],
1399 }], 1407 }],
1400 ['enable_web_intents==1', { 1408 ['enable_web_intents==1', {
1401 'defines': [ 1409 'defines': [
1402 'ENABLE_WEB_INTENTS=1', 1410 'ENABLE_WEB_INTENTS=1',
1403 ], 1411 ],
1404 }], 1412 }],
1413 ['enable_extensions==1', {
1414 'defines': [
1415 'ENABLE_EXTENSIONS=1',
1416 ],
1417 }],
1405 ['OS=="win" and branding=="Chrome"', { 1418 ['OS=="win" and branding=="Chrome"', {
1406 'defines': ['ENABLE_SWIFTSHADER'], 1419 'defines': ['ENABLE_SWIFTSHADER'],
1407 }], 1420 }],
1408 ['enable_dart==1', { 1421 ['enable_dart==1', {
1409 'defines': ['WEBKIT_USING_DART=1'], 1422 'defines': ['WEBKIT_USING_DART=1'],
1410 }], 1423 }],
1411 ['enable_plugin_installation==1', { 1424 ['enable_plugin_installation==1', {
1412 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], 1425 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'],
1413 }], 1426 }],
1414 ['enable_protector_service==1', { 1427 ['enable_protector_service==1', {
(...skipping 1587 matching lines...) Expand 10 before | Expand all | Expand 10 after
3002 # settings in target dicts. SYMROOT is a special case, because many other 3015 # settings in target dicts. SYMROOT is a special case, because many other
3003 # Xcode variables depend on it, including variables such as 3016 # Xcode variables depend on it, including variables such as
3004 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3017 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3005 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3018 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3006 # files to appear (when present) in the UI as actual files and not red 3019 # files to appear (when present) in the UI as actual files and not red
3007 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3020 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3008 # and therefore SYMROOT, needs to be set at the project level. 3021 # and therefore SYMROOT, needs to be set at the project level.
3009 'SYMROOT': '<(DEPTH)/xcodebuild', 3022 'SYMROOT': '<(DEPTH)/xcodebuild',
3010 }, 3023 },
3011 } 3024 }
OLDNEW
« 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