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

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

Issue 1190863002: Roll Clang 238013-3:239765-1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/scripts/update.sh » ('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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 # for these builds. 401 # for these builds.
402 if (is_chrome_branded && is_official_build) { 402 if (is_chrome_branded && is_official_build) {
403 cflags += [ 403 cflags += [
404 "-fno-unwind-tables", 404 "-fno-unwind-tables",
405 "-fno-asynchronous-unwind-tables", 405 "-fno-asynchronous-unwind-tables",
406 ] 406 ]
407 defines += [ "NO_UNWIND_TABLES" ] 407 defines += [ "NO_UNWIND_TABLES" ]
408 } else { 408 } else {
409 cflags += [ "-funwind-tables" ] 409 cflags += [ "-funwind-tables" ]
410 } 410 }
411
412 if (is_clang && !is_nacl && !is_debug) {
413 # Non-unique section names appears to make linker dead stripping
414 # less effective. See http://crbug.com/483026#c20
415 # TODO(hans): Remove this if resolved upstream.
416 cflags += [ "-funique-section-names" ]
417 }
418 } 411 }
419 412
420 # Linux/Android common flags setup. 413 # Linux/Android common flags setup.
421 # --------------------------------- 414 # ---------------------------------
422 if (is_linux || is_android) { 415 if (is_linux || is_android) {
423 cflags += [ 416 cflags += [
424 "-fPIC", 417 "-fPIC",
425 "-pipe", # Use pipes for communicating between sub-processes. Faster. 418 "-pipe", # Use pipes for communicating between sub-processes. Faster.
426 ] 419 ]
427 420
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 cflags += [ "-gsplit-dwarf" ] 1249 cflags += [ "-gsplit-dwarf" ]
1257 } 1250 }
1258 } 1251 }
1259 } 1252 }
1260 1253
1261 config("no_symbols") { 1254 config("no_symbols") {
1262 if (!is_win) { 1255 if (!is_win) {
1263 cflags = [ "-g0" ] 1256 cflags = [ "-g0" ]
1264 } 1257 }
1265 } 1258 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | tools/clang/scripts/update.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698