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

Side by Side Diff: build/common.gypi

Issue 7024043: Disable RegisterProtocolHandler on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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 | no next file » | 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 navigator.registerProtocolHandler and supporting UI.
133 'enable_register_protocol_handler%': 1,
134
135 # Remoting compilation is enabled by default. Set to 0 to disable. 132 # Remoting compilation is enabled by default. Set to 0 to disable.
136 'remoting%': 1, 133 'remoting%': 1,
137 134
138 # P2P APIs are compiled in by default. Set to 0 to disable. 135 # P2P APIs are compiled in by default. Set to 0 to disable.
139 # Also note that this should be enabled for remoting to compile. 136 # Also note that this should be enabled for remoting to compile.
140 'p2p_apis%': 1, 137 'p2p_apis%': 1,
141 138
142 # Configuration policy is enabled by default. Set to 0 to disable. 139 # Configuration policy is enabled by default. Set to 0 to disable.
143 'configuration_policy%': 1, 140 'configuration_policy%': 1,
144 141
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 }, { 191 }, {
195 'enable_flapper_hacks%': 0, 192 'enable_flapper_hacks%': 0,
196 }], 193 }],
197 194
198 # Enable file manager extension by default on Chrome OS. 195 # Enable file manager extension by default on Chrome OS.
199 ['chromeos==1', { 196 ['chromeos==1', {
200 'file_manager_extension%': 1, 197 'file_manager_extension%': 1,
201 }, { 198 }, {
202 'file_manager_extension%': 0, 199 'file_manager_extension%': 0,
203 }], 200 }],
201
202 # Enable navigator.registerProtocolHandler and supporting UI.
203 # We disable on Linux because the OS-level component of RPH isn't
204 # implemented.
205 ['OS=="linux"', {
206 'enable_register_protocol_handler%': 0,
207 }, {
208 'enable_register_protocol_handler%': 1,
209 }],
204 ], 210 ],
205 }, 211 },
206 212
207 # Copy conditionally-set variables out one scope. 213 # Copy conditionally-set variables out one scope.
208 'branding%': '<(branding)', 214 'branding%': '<(branding)',
209 'buildtype%': '<(buildtype)', 215 'buildtype%': '<(buildtype)',
210 'target_arch%': '<(target_arch)', 216 'target_arch%': '<(target_arch)',
211 'host_arch%': '<(host_arch)', 217 'host_arch%': '<(host_arch)',
212 'library%': 'static_library', 218 'library%': 'static_library',
213 'toolkit_views%': '<(toolkit_views)', 219 'toolkit_views%': '<(toolkit_views)',
(...skipping 1537 matching lines...) Expand 10 before | Expand all | Expand 10 after
1751 # and therefore SYMROOT, needs to be set at the project level. 1757 # and therefore SYMROOT, needs to be set at the project level.
1752 'SYMROOT': '<(DEPTH)/xcodebuild', 1758 'SYMROOT': '<(DEPTH)/xcodebuild',
1753 }, 1759 },
1754 } 1760 }
1755 1761
1756 # Local Variables: 1762 # Local Variables:
1757 # tab-width:2 1763 # tab-width:2
1758 # indent-tabs-mode:nil 1764 # indent-tabs-mode:nil
1759 # End: 1765 # End:
1760 # vim: set expandtab tabstop=2 shiftwidth=2: 1766 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698