OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |