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

Side by Side Diff: build/config/compiler/BUILD.gn

Issue 1145043003: Roll Clang 233105-2:238013-1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try 238013 Created 5 years, 7 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 | « build/common.gypi ('k') | tools/clang/blink_gc_plugin/JsonWriter.h » ('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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 if (current_cpu == "arm") { 7 if (current_cpu == "arm") {
8 import("//build/config/arm.gni") 8 import("//build/config/arm.gni")
9 } 9 }
10 if (current_cpu == "mipsel" || current_cpu == "mips64el") { 10 if (current_cpu == "mipsel" || current_cpu == "mips64el") {
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 # for these builds. 370 # for these builds.
371 if (is_chrome_branded && is_official_build) { 371 if (is_chrome_branded && is_official_build) {
372 cflags += [ 372 cflags += [
373 "-fno-unwind-tables", 373 "-fno-unwind-tables",
374 "-fno-asynchronous-unwind-tables", 374 "-fno-asynchronous-unwind-tables",
375 ] 375 ]
376 defines += [ "NO_UNWIND_TABLES" ] 376 defines += [ "NO_UNWIND_TABLES" ]
377 } else { 377 } else {
378 cflags += [ "-funwind-tables" ] 378 cflags += [ "-funwind-tables" ]
379 } 379 }
380
381 if (is_clang && !is_nacl && !is_debug) {
382 # Non-unique section names appears to make linker dead stripping
383 # less effective. See http://crbug.com/483026#c20
384 # TODO(hans): Remove this if resolved upstream.
385 cflags += [ "-funique-section-names" ]
386 }
380 } 387 }
381 388
382 # Linux/Android common flags setup. 389 # Linux/Android common flags setup.
383 # --------------------------------- 390 # ---------------------------------
384 if (is_linux || is_android) { 391 if (is_linux || is_android) {
385 cflags += [ 392 cflags += [
386 "-fPIC", 393 "-fPIC",
387 "-pipe", # Use pipes for communicating between sub-processes. Faster. 394 "-pipe", # Use pipes for communicating between sub-processes. Faster.
388 ] 395 ]
389 396
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
1143 cflags += [ "-gsplit-dwarf" ] 1150 cflags += [ "-gsplit-dwarf" ]
1144 } 1151 }
1145 } 1152 }
1146 } 1153 }
1147 1154
1148 config("no_symbols") { 1155 config("no_symbols") {
1149 if (!is_win) { 1156 if (!is_win) {
1150 cflags = [ "-g0" ] 1157 cflags = [ "-g0" ]
1151 } 1158 }
1152 } 1159 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | tools/clang/blink_gc_plugin/JsonWriter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698