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

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

Issue 211493005: Revert 259371 "clang roll 198389:202554 reloaded" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « trunk/src/build/common.gypi ('k') | trunk/src/third_party/libxml/libxml.gyp » ('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 if (cpu_arch == "arm") { 6 if (cpu_arch == "arm") {
7 import("//build/config/arm.gni") 7 import("//build/config/arm.gni")
8 } 8 }
9 9
10 # compiler --------------------------------------------------------------------- 10 # compiler ---------------------------------------------------------------------
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 ldflags += [ 231 ldflags += [
232 # Enable identical code folding to reduce size. 232 # Enable identical code folding to reduce size.
233 "-Wl,--icf=safe", 233 "-Wl,--icf=safe",
234 ] 234 ]
235 } 235 }
236 236
237 if (is_clang) { 237 if (is_clang) {
238 if (cpu_arch == "arm") { 238 if (cpu_arch == "arm") {
239 cflags += [ 239 cflags += [
240 "-target arm-linux-androideabi", 240 "-target arm-linux-androideabi",
241 "-mllvm -arm-enable-ehabi",
241 ] 242 ]
242 ldflags += [ "-target arm-linux-androideabi" ] 243 ldflags += [ "-target arm-linux-androideabi" ]
243 } else if (cpu_arch == "x86") { 244 } else if (cpu_arch == "x86") {
244 cflags += [ "-target x86-linux-androideabi" ] 245 cflags += [ "-target x86-linux-androideabi" ]
245 ldflags += [ "-target x86-linux-androideabi" ] 246 ldflags += [ "-target x86-linux-androideabi" ]
246 } 247 }
247 } 248 }
248 } 249 }
249 } 250 }
250 251
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 cflags = [ "-g1" ] 673 cflags = [ "-g1" ]
673 } 674 }
674 } 675 }
675 676
676 config("no_symbols") { 677 config("no_symbols") {
677 if (!is_win) { 678 if (!is_win) {
678 cflags = [ "-g0" ] 679 cflags = [ "-g0" ]
679 } 680 }
680 } 681 }
681 682
OLDNEW
« no previous file with comments | « trunk/src/build/common.gypi ('k') | trunk/src/third_party/libxml/libxml.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698