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

Side by Side Diff: build/common.gypi

Issue 899403003: Linux: Enable ODR violation detection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reference libphonenumber bug Created 5 years, 10 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/compiler/BUILD.gn » ('j') | build/config/compiler/BUILD.gn » ('J')
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 4389 matching lines...) Expand 10 before | Expand all | Expand 10 after
4400 'target_conditions': [ 4400 'target_conditions': [
4401 ['_toolset=="target"', { 4401 ['_toolset=="target"', {
4402 'ldflags': [ 4402 'ldflags': [
4403 # Experimentation found that using four linking threads 4403 # Experimentation found that using four linking threads
4404 # saved ~20% of link time. 4404 # saved ~20% of link time.
4405 # https://groups.google.com/a/chromium.org/group/chromium-dev/ browse_thread/thread/281527606915bb36 4405 # https://groups.google.com/a/chromium.org/group/chromium-dev/ browse_thread/thread/281527606915bb36
4406 # Only apply this to the target linker, since the host 4406 # Only apply this to the target linker, since the host
4407 # linker might not be gold, but isn't used much anyway. 4407 # linker might not be gold, but isn't used much anyway.
4408 '-Wl,--threads', 4408 '-Wl,--threads',
4409 '-Wl,--thread-count=4', 4409 '-Wl,--thread-count=4',
4410 '-Wl,--detect-odr-violations',
4410 ], 4411 ],
4411 }], 4412 }],
4412 ], 4413 ],
4413 'conditions': [ 4414 'conditions': [
4414 ['release_valgrind_build==0 and order_profiling==0', { 4415 ['release_valgrind_build==0 and order_profiling==0', {
4415 'target_conditions': [ 4416 'target_conditions': [
4416 ['_toolset=="target"', { 4417 ['_toolset=="target"', {
4417 'ldflags': [ 4418 'ldflags': [
4418 '-Wl,--icf=safe', 4419 '-Wl,--icf=safe',
4419 ], 4420 ],
(...skipping 1469 matching lines...) Expand 10 before | Expand all | Expand 10 after
5889 # settings in target dicts. SYMROOT is a special case, because many other 5890 # settings in target dicts. SYMROOT is a special case, because many other
5890 # Xcode variables depend on it, including variables such as 5891 # Xcode variables depend on it, including variables such as
5891 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5892 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5892 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5893 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5893 # files to appear (when present) in the UI as actual files and not red 5894 # files to appear (when present) in the UI as actual files and not red
5894 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5895 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5895 # and therefore SYMROOT, needs to be set at the project level. 5896 # and therefore SYMROOT, needs to be set at the project level.
5896 'SYMROOT': '<(DEPTH)/xcodebuild', 5897 'SYMROOT': '<(DEPTH)/xcodebuild',
5897 }, 5898 },
5898 } 5899 }
OLDNEW
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | build/config/compiler/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698