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

Side by Side Diff: build/common.gypi

Issue 164525: Reverting 23343. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 4 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/chrome.gyp » ('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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 { 5 {
6 'variables': { 6 'variables': {
7 # .gyp files should set chromium_code to 1 if they build Chromium-specific 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific
8 # code, as opposed to external code. This variable is used to control 8 # code, as opposed to external code. This variable is used to control
9 # such things as the set of warnings to enable, and whether warnings are 9 # such things as the set of warnings to enable, and whether warnings are
10 # treated as errors. 10 # treated as errors.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 # The architecture that we're building on. 87 # The architecture that we're building on.
88 'target_arch%': 'ia32', 88 'target_arch%': 'ia32',
89 89
90 # By default linux does not use views. To turn on views in Linux 90 # By default linux does not use views. To turn on views in Linux
91 # set the variable GYP_DEFINES to "toolkit_views=1", or modify 91 # set the variable GYP_DEFINES to "toolkit_views=1", or modify
92 # ~/.gyp/include.gypi . 92 # ~/.gyp/include.gypi .
93 'toolkit_views%': 0, 93 'toolkit_views%': 0,
94 94
95 'chromeos%': 0, 95 'chromeos%': 0,
96 96
97 # Whether or not browser sync code is built in.
98 'chrome_personalization%': 1,
99
100 # Used to build and statically link a stub (no-op) syncapi engine.
101 'use_syncapi_stub%' : 1,
102
97 # Set the restrictions on the SUID sandbox binary. 103 # Set the restrictions on the SUID sandbox binary.
98 # Path: only exec the hard coded chrome binary path 104 # Path: only exec the hard coded chrome binary path
99 # User: only exec binaries owned by the running user. 105 # User: only exec binaries owned by the running user.
100 # 106 #
101 # Developers should read 107 # Developers should read
102 # http://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment 108 # http://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment
103 'linux_suid_sandbox_restrictions%': 'Path', 109 'linux_suid_sandbox_restrictions%': 'Path',
104 110
105 # This is the location of the sandbox binary. Chrome looks for this before 111 # This is the location of the sandbox binary. Chrome looks for this before
106 # running the zygote process. If found, and SUID, it will be used to 112 # running the zygote process. If found, and SUID, it will be used to
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 ], 176 ],
171 }, { # else: branding!="Chrome" 177 }, { # else: branding!="Chrome"
172 'defines': ['CHROMIUM_BUILD'], 178 'defines': ['CHROMIUM_BUILD'],
173 }], 179 }],
174 ['toolkit_views==1', { 180 ['toolkit_views==1', {
175 'defines': ['TOOLKIT_VIEWS=1'], 181 'defines': ['TOOLKIT_VIEWS=1'],
176 }], 182 }],
177 ['chromeos==1', { 183 ['chromeos==1', {
178 'defines': ['OS_CHROMEOS=1'], 184 'defines': ['OS_CHROMEOS=1'],
179 }], 185 }],
186 ['chrome_personalization==1', {
187 'conditions': [
188 ['OS=="win"', {
189 # For now sync is only enabled on windows.
190 'defines': ['CHROME_PERSONALIZATION=1'],
191 }], # OS==win
192 ], # conditions for chrome_personalization
193 }], # chrome_personalization==1
194 ['use_syncapi_stub==1', {
195 'defines': ['COMPILING_SYNCAPI_STUB'],
196 }], # use_syncapi_stub==1
180 ['coverage!=0', { 197 ['coverage!=0', {
181 'conditions': [ 198 'conditions': [
182 ['OS=="mac"', { 199 ['OS=="mac"', {
183 'xcode_settings': { 200 'xcode_settings': {
184 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs 201 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs
185 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage 202 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage
186 }, 203 },
187 # Add -lgcov for executables, not for static_libraries. 204 # Add -lgcov for executables, not for static_libraries.
188 # This is a delayed conditional. 205 # This is a delayed conditional.
189 'target_conditions': [ 206 'target_conditions': [
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 # settings in target dicts. SYMROOT is a special case, because many other 761 # settings in target dicts. SYMROOT is a special case, because many other
745 # Xcode variables depend on it, including variables such as 762 # Xcode variables depend on it, including variables such as
746 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 763 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
747 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 764 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
748 # files to appear (when present) in the UI as actual files and not red 765 # files to appear (when present) in the UI as actual files and not red
749 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 766 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
750 # and therefore SYMROOT, needs to be set at the project level. 767 # and therefore SYMROOT, needs to be set at the project level.
751 'SYMROOT': '<(DEPTH)/xcodebuild', 768 'SYMROOT': '<(DEPTH)/xcodebuild',
752 }, 769 },
753 } 770 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698