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

Side by Side Diff: build/common.gypi

Issue 7033018: Handler settings page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove in_unit_test_ Created 9 years, 7 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 | build/features_override.gypi » ('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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 # it can be overriden by the GYP command line or by ~/.gyp/include.gypi. 122 # it can be overriden by the GYP command line or by ~/.gyp/include.gypi.
123 'component%': 'static_library', 123 'component%': 'static_library',
124 124
125 # Set to select the Title Case versions of strings in GRD files. 125 # Set to select the Title Case versions of strings in GRD files.
126 'use_titlecase_in_grd_files%': 0, 126 'use_titlecase_in_grd_files%': 0,
127 127
128 # Use translations provided by volunteers at launchpad.net. This 128 # Use translations provided by volunteers at launchpad.net. This
129 # currently only works on Linux. 129 # currently only works on Linux.
130 'use_third_party_translations%': 0, 130 'use_third_party_translations%': 0,
131 131
132 # Enable the Manage Handlers section in the settings page.
133 'enable_register_protocol_handler%': 0,
134
132 # Remoting compilation is enabled by default. Set to 0 to disable. 135 # Remoting compilation is enabled by default. Set to 0 to disable.
133 'remoting%': 1, 136 'remoting%': 1,
134 137
135 # P2P APIs are compiled in by default. Set to 0 to disable. 138 # P2P APIs are compiled in by default. Set to 0 to disable.
136 # Also note that this should be enabled for remoting to compile. 139 # Also note that this should be enabled for remoting to compile.
137 'p2p_apis%': 1, 140 'p2p_apis%': 1,
138 141
139 # If this is set, the clang plugins used on the buildbot will be used. 142 # If this is set, the clang plugins used on the buildbot will be used.
140 # Run tools/clang/scripts/update.sh to make sure they are compiled. 143 # Run tools/clang/scripts/update.sh to make sure they are compiled.
141 # This causes 'clang_chrome_plugins_flags' to be set. 144 # This causes 'clang_chrome_plugins_flags' to be set.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 'armv7%': '<(armv7)', 224 'armv7%': '<(armv7)',
222 'arm_neon%': '<(arm_neon)', 225 'arm_neon%': '<(arm_neon)',
223 'sysroot%': '<(sysroot)', 226 'sysroot%': '<(sysroot)',
224 'disable_sse2%': '<(disable_sse2)', 227 'disable_sse2%': '<(disable_sse2)',
225 'component%': '<(component)', 228 'component%': '<(component)',
226 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', 229 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)',
227 'use_third_party_translations%': '<(use_third_party_translations)', 230 'use_third_party_translations%': '<(use_third_party_translations)',
228 'remoting%': '<(remoting)', 231 'remoting%': '<(remoting)',
229 'p2p_apis%': '<(p2p_apis)', 232 'p2p_apis%': '<(p2p_apis)',
230 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', 233 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
234 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)',
231 235
232 # The release channel that this build targets. This is used to restrict 236 # The release channel that this build targets. This is used to restrict
233 # channel-specific build options, like which installer packages to create. 237 # channel-specific build options, like which installer packages to create.
234 # The default is 'all', which does no channel-specific filtering. 238 # The default is 'all', which does no channel-specific filtering.
235 'channel%': 'all', 239 'channel%': 'all',
236 240
237 # Override chromium_mac_pch and set it to 0 to suppress the use of 241 # Override chromium_mac_pch and set it to 0 to suppress the use of
238 # precompiled headers on the Mac. Prefix header injection may still be 242 # precompiled headers on the Mac. Prefix header injection may still be
239 # used, but prefix headers will not be precompiled. This is useful when 243 # used, but prefix headers will not be precompiled. This is useful when
240 # using distcc to distribute a build to compile slaves that don't 244 # using distcc to distribute a build to compile slaves that don't
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 ['clang_use_chrome_plugins==1', { 572 ['clang_use_chrome_plugins==1', {
569 'clang_chrome_plugins_flags': 573 'clang_chrome_plugins_flags':
570 '<!(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)', 574 '<!(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)',
571 }], 575 }],
572 576
573 # Set use_ibus to 1 to enable ibus support. 577 # Set use_ibus to 1 to enable ibus support.
574 ['touchui==1 and chromeos==1', { 578 ['touchui==1 and chromeos==1', {
575 'use_ibus%': 1, 579 'use_ibus%': 1,
576 }, { 580 }, {
577 'use_ibus%': 0, 581 'use_ibus%': 0,
578 }] 582 }],
583
584 ['enable_register_protocol_handler==1', {
585 'grit_defines': ['-D', 'enable_register_protocol_handler'],
586 }],
579 ], 587 ],
580 }, 588 },
581 'target_defaults': { 589 'target_defaults': {
582 'variables': { 590 'variables': {
583 # The condition that operates on chromium_code is in a target_conditions 591 # The condition that operates on chromium_code is in a target_conditions
584 # section, and will not have access to the default fallback value of 592 # section, and will not have access to the default fallback value of
585 # chromium_code at the top of this file, or to the chromium_code 593 # chromium_code at the top of this file, or to the chromium_code
586 # variable placed at the root variables scope of .gyp files, because 594 # variable placed at the root variables scope of .gyp files, because
587 # those variables are not set at target scope. As a workaround, 595 # those variables are not set at target scope. As a workaround,
588 # if chromium_code is not set at target scope, define it in target scope 596 # if chromium_code is not set at target scope, define it in target scope
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 ['OS=="win"', { 761 ['OS=="win"', {
754 'defines': [ 762 'defines': [
755 '__STD_C', 763 '__STD_C',
756 '_CRT_SECURE_NO_DEPRECATE', 764 '_CRT_SECURE_NO_DEPRECATE',
757 '_SCL_SECURE_NO_DEPRECATE', 765 '_SCL_SECURE_NO_DEPRECATE',
758 ], 766 ],
759 'include_dirs': [ 767 'include_dirs': [
760 '<(DEPTH)/third_party/wtl/include', 768 '<(DEPTH)/third_party/wtl/include',
761 ], 769 ],
762 }], # OS==win 770 }], # OS==win
771 ['enable_register_protocol_handler==1', {
772 'defines': [
773 'ENABLE_REGISTER_PROTOCOL_HANDLER',
774 ],
775 }],
763 ], # conditions for 'target_defaults' 776 ], # conditions for 'target_defaults'
764 'target_conditions': [ 777 'target_conditions': [
765 ['chromium_code==0', { 778 ['chromium_code==0', {
766 'conditions': [ 779 'conditions': [
767 [ 'os_posix==1 and OS!="mac"', { 780 [ 'os_posix==1 and OS!="mac"', {
768 # We don't want to get warnings from third-party code, 781 # We don't want to get warnings from third-party code,
769 # so remove any existing warning-enabling flags like -Wall. 782 # so remove any existing warning-enabling flags like -Wall.
770 'cflags!': [ 783 'cflags!': [
771 '-Wall', 784 '-Wall',
772 '-Wextra', 785 '-Wextra',
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after
1730 # and therefore SYMROOT, needs to be set at the project level. 1743 # and therefore SYMROOT, needs to be set at the project level.
1731 'SYMROOT': '<(DEPTH)/xcodebuild', 1744 'SYMROOT': '<(DEPTH)/xcodebuild',
1732 }, 1745 },
1733 } 1746 }
1734 1747
1735 # Local Variables: 1748 # Local Variables:
1736 # tab-width:2 1749 # tab-width:2
1737 # indent-tabs-mode:nil 1750 # indent-tabs-mode:nil
1738 # End: 1751 # End:
1739 # vim: set expandtab tabstop=2 shiftwidth=2: 1752 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | build/features_override.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698