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

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

Issue 1489193002: Enable arm/linux chromium to build with gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_bfd_linking
Patch Set: Created 5 years 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
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 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/nacl/config.gni") 8 import("//build/config/nacl/config.gni")
9 import("//build/toolchain/ccache.gni") 9 import("//build/toolchain/ccache.gni")
10 10
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 ldflags += [ 550 ldflags += [
551 "-arch", 551 "-arch",
552 "x86-32-nonsfi", 552 "x86-32-nonsfi",
553 "--target=i686-unknown-nacl", 553 "--target=i686-unknown-nacl",
554 ] 554 ]
555 } else if (target_cpu == "arm") { 555 } else if (target_cpu == "arm") {
556 cflags += [ 556 cflags += [
557 "-arch", 557 "-arch",
558 "arm-nonsfi", 558 "arm-nonsfi",
559 "--pnacl-bias=arm-nonsfi", 559 "--pnacl-bias=arm-nonsfi",
560 "--target=arm-unknown-nacl",
560 ] 561 ]
561 ldflags += [ 562 ldflags += [
562 "-arch", 563 "-arch",
563 "arm-nonsfi", 564 "arm-nonsfi",
564 ] 565 ]
565 } 566 }
566 } 567 }
567 } 568 }
568 569
569 asmflags = cflags 570 asmflags = cflags
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 if (symbol_level == 0) { 1319 if (symbol_level == 0) {
1319 configs = [ ":no_symbols" ] 1320 configs = [ ":no_symbols" ]
1320 } else if (symbol_level == 1) { 1321 } else if (symbol_level == 1) {
1321 configs = [ ":minimal_symbols" ] 1322 configs = [ ":minimal_symbols" ]
1322 } else if (symbol_level == 2) { 1323 } else if (symbol_level == 2) {
1323 configs = [ ":symbols" ] 1324 configs = [ ":symbols" ]
1324 } else { 1325 } else {
1325 assert(false) 1326 assert(false)
1326 } 1327 }
1327 } 1328 }
OLDNEW
« no previous file with comments | « no previous file | docs/linux_chromium_arm.md » ('j') | sandbox/linux/system_headers/arm_linux_syscalls.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698