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

Side by Side Diff: build/common.gypi

Issue 562383002: gn: various flag matching for 'base' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: default off only for linux Created 6 years, 3 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
« no previous file with comments | « no previous file | build/config/BUILDCONFIG.gn » ('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 3636 matching lines...) Expand 10 before | Expand all | Expand 10 after
3647 ['OS=="android"', { 3647 ['OS=="android"', {
3648 'variables': { 3648 'variables': {
3649 'release_optimize%': 's', 3649 'release_optimize%': 's',
3650 }, 3650 },
3651 'ldflags': [ 3651 'ldflags': [
3652 # Warn in case of text relocations. 3652 # Warn in case of text relocations.
3653 '-Wl,--warn-shared-textrel', 3653 '-Wl,--warn-shared-textrel',
3654 ], 3654 ],
3655 }], 3655 }],
3656 ['clang==1', { 3656 ['clang==1', {
3657 'cflags!': [
3658 '-fno-ident',
3659 ],
3660 # TODO(thakis): Remove once http://llvm.org/PR20354 is fixed 3657 # TODO(thakis): Remove once http://llvm.org/PR20354 is fixed
3661 # and the fix is in chromium. 3658 # and the fix is in chromium.
3662 'cflags': [ '-fno-slp-vectorize', ], 3659 'cflags': [ '-fno-slp-vectorize', ],
3663 }], 3660 }],
3664 ['profiling==1', { 3661 ['profiling==1', {
3665 'cflags': [ 3662 'cflags': [
3666 '-fno-omit-frame-pointer', 3663 '-fno-omit-frame-pointer',
3667 '-g', 3664 '-g',
3668 ], 3665 ],
3669 'conditions' : [ 3666 'conditions' : [
(...skipping 2120 matching lines...) Expand 10 before | Expand all | Expand 10 after
5790 # settings in target dicts. SYMROOT is a special case, because many other 5787 # settings in target dicts. SYMROOT is a special case, because many other
5791 # Xcode variables depend on it, including variables such as 5788 # Xcode variables depend on it, including variables such as
5792 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5789 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5793 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5790 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5794 # files to appear (when present) in the UI as actual files and not red 5791 # files to appear (when present) in the UI as actual files and not red
5795 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5792 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5796 # and therefore SYMROOT, needs to be set at the project level. 5793 # and therefore SYMROOT, needs to be set at the project level.
5797 'SYMROOT': '<(DEPTH)/xcodebuild', 5794 'SYMROOT': '<(DEPTH)/xcodebuild',
5798 }, 5795 },
5799 } 5796 }
OLDNEW
« no previous file with comments | « no previous file | build/config/BUILDCONFIG.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698