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

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

Issue 1263213002: Support Android x86 ASan build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 # Enable identical code folding to reduce size. 568 # Enable identical code folding to reduce size.
569 "-Wl,--icf=safe", 569 "-Wl,--icf=safe",
570 ] 570 ]
571 } 571 }
572 572
573 if (is_clang) { 573 if (is_clang) {
574 if (current_cpu == "arm") { 574 if (current_cpu == "arm") {
575 cflags += [ "-target arm-linux-androideabi" ] 575 cflags += [ "-target arm-linux-androideabi" ]
576 ldflags += [ "-target arm-linux-androideabi" ] 576 ldflags += [ "-target arm-linux-androideabi" ]
577 } else if (current_cpu == "x86") { 577 } else if (current_cpu == "x86") {
578 cflags += [ "-target x86-linux-androideabi" ] 578 cflags += [ "-target i686-linux-androideabi" ]
579 ldflags += [ "-target x86-linux-androideabi" ] 579 ldflags += [ "-target i686-linux-androideabi" ]
580 } 580 }
581 } 581 }
582 } 582 }
583 583
584 # Pass the same C/C++ flags to the objective C/C++ compiler. 584 # Pass the same C/C++ flags to the objective C/C++ compiler.
585 cflags_objc += cflags_c 585 cflags_objc += cflags_c
586 cflags_objcc += cflags_cc 586 cflags_objcc += cflags_cc
587 } 587 }
588 588
589 config("compiler_arm_fpu") { 589 config("compiler_arm_fpu") {
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
1281 cflags += [ "-gsplit-dwarf" ] 1281 cflags += [ "-gsplit-dwarf" ]
1282 } 1282 }
1283 } 1283 }
1284 } 1284 }
1285 1285
1286 config("no_symbols") { 1286 config("no_symbols") {
1287 if (!is_win) { 1287 if (!is_win) {
1288 cflags = [ "-g0" ] 1288 cflags = [ "-g0" ]
1289 } 1289 }
1290 } 1290 }
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