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

Side by Side Diff: build/common.gypi

Issue 62153: Linux cflag changes:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | « DEPS ('k') | build/temp_gyp/v8.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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 '_DEBUG', 221 '_DEBUG',
222 ], 222 ],
223 'cflags': [ 223 'cflags': [
224 '-O0', 224 '-O0',
225 '-g', 225 '-g',
226 ], 226 ],
227 }, 227 },
228 'Release': { 228 'Release': {
229 'cflags': [ 229 'cflags': [
230 '-O2', 230 '-O2',
231 # Don't emit the GCC version ident directives, they just end up
232 # in the .comment section taking up binary size.
233 '-fno-ident',
234 # Put data and code in their own sections, so that unused symbols
235 # can be removed at link time with --gc-sections.
236 '-fdata-sections',
237 '-ffunction-sections',
231 ], 238 ],
232 }, 239 },
233 }, 240 },
234 'variants': { 241 'variants': {
235 'coverage': { 242 'coverage': {
236 'cflags': ['-fprofile-arcs', '-ftest-coverage'], 243 'cflags': ['-fprofile-arcs', '-ftest-coverage'],
237 'ldflags': ['-fprofile-arcs'], 244 'ldflags': ['-fprofile-arcs'],
238 }, 245 },
239 'profile': { 246 'profile': {
240 'cflags': ['-pg', '-g'], 247 'cflags': ['-pg', '-g'],
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 # settings in target dicts. SYMROOT is a special case, because many other 397 # settings in target dicts. SYMROOT is a special case, because many other
391 # Xcode variables depend on it, including variables such as 398 # Xcode variables depend on it, including variables such as
392 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 399 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
393 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 400 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
394 # files to appear (when present) in the UI as actual files and not red 401 # files to appear (when present) in the UI as actual files and not red
395 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 402 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
396 # and therefore SYMROOT, needs to be set at the project level. 403 # and therefore SYMROOT, needs to be set at the project level.
397 'SYMROOT': '<(DEPTH)/xcodebuild', 404 'SYMROOT': '<(DEPTH)/xcodebuild',
398 }, 405 },
399 } 406 }
OLDNEW
« no previous file with comments | « DEPS ('k') | build/temp_gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698