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

Side by Side Diff: build/common.gypi

Issue 630163005: Roll Clang 217949:218707 (+r218742 and r218921) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop -L that was left from previous version of the patch Created 6 years, 2 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 | tools/clang/blink_gc_plugin/CMakeLists.txt » ('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 4482 matching lines...) Expand 10 before | Expand all | Expand 10 after
4493 ], 4493 ],
4494 }], 4494 }],
4495 ['asan==1', { 4495 ['asan==1', {
4496 'cflags': [ 4496 'cflags': [
4497 # Android build relies on -Wl,--gc-sections removing 4497 # Android build relies on -Wl,--gc-sections removing
4498 # unreachable code. ASan instrumentation for globals inhibits 4498 # unreachable code. ASan instrumentation for globals inhibits
4499 # this and results in a library with unresolvable relocations. 4499 # this and results in a library with unresolvable relocations.
4500 # TODO(eugenis): find a way to reenable this. 4500 # TODO(eugenis): find a way to reenable this.
4501 '-mllvm -asan-globals=0', 4501 '-mllvm -asan-globals=0',
4502 ], 4502 ],
4503 'conditions': [
4504 ['target_arch=="arm"', {
4505 'ldflags': [
4506 # TODO(hans): The ASan runtime is no longer automatically
4507 # added to the link line when using -nostdlib. Can we
4508 # stop adding -nostdlib? (crbug.com/423429)
4509 '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/lib/clang/3.6 .0/lib/linux/libclang_rt.asan-arm-android.so',
4510 ],
4511 }],
4512 ],
4503 }], 4513 }],
4504 ['android_webview_build==0', { 4514 ['android_webview_build==0', {
4505 'defines': [ 4515 'defines': [
4506 # The NDK has these things, but doesn't define the constants 4516 # The NDK has these things, but doesn't define the constants
4507 # to say that it does. Define them here instead. 4517 # to say that it does. Define them here instead.
4508 'HAVE_SYS_UIO_H', 4518 'HAVE_SYS_UIO_H',
4509 ], 4519 ],
4510 'cflags': [ 4520 'cflags': [
4511 '--sysroot=<(android_ndk_sysroot)', 4521 '--sysroot=<(android_ndk_sysroot)',
4512 ], 4522 ],
(...skipping 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after
5729 # settings in target dicts. SYMROOT is a special case, because many other 5739 # settings in target dicts. SYMROOT is a special case, because many other
5730 # Xcode variables depend on it, including variables such as 5740 # Xcode variables depend on it, including variables such as
5731 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5741 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5732 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5742 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5733 # files to appear (when present) in the UI as actual files and not red 5743 # files to appear (when present) in the UI as actual files and not red
5734 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5744 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5735 # and therefore SYMROOT, needs to be set at the project level. 5745 # and therefore SYMROOT, needs to be set at the project level.
5736 'SYMROOT': '<(DEPTH)/xcodebuild', 5746 'SYMROOT': '<(DEPTH)/xcodebuild',
5737 }, 5747 },
5738 } 5748 }
OLDNEW
« no previous file with comments | « no previous file | tools/clang/blink_gc_plugin/CMakeLists.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698