OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("config.gni") | 5 import("config.gni") |
| 6 import("//testing/test.gni") |
6 | 7 |
7 assert(relocation_packing_supported) | 8 assert(relocation_packing_supported) |
8 | 9 |
9 if (target_arch == "arm") { | 10 if (target_arch == "arm") { |
10 target_define = "TARGET_ARM" | 11 target_define = "TARGET_ARM" |
11 } else if (target_arch == "arm64") { | 12 } else if (target_arch == "arm64") { |
12 target_define = "TARGET_ARM64" | 13 target_define = "TARGET_ARM64" |
13 } | 14 } |
14 | 15 |
15 if (current_toolchain == host_toolchain) { | 16 if (current_toolchain == host_toolchain) { |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 "--added-section=$added_section", | 139 "--added-section=$added_section", |
139 "--test-file", | 140 "--test-file", |
140 rebase_path(test_file, root_build_dir), | 141 rebase_path(test_file, root_build_dir), |
141 "--packed-output", | 142 "--packed-output", |
142 rebase_path(packed_output, root_build_dir), | 143 rebase_path(packed_output, root_build_dir), |
143 "--unpacked-output", | 144 "--unpacked-output", |
144 rebase_path(unpacked_output, root_build_dir), | 145 rebase_path(unpacked_output, root_build_dir), |
145 ] | 146 ] |
146 } | 147 } |
147 } | 148 } |
OLD | NEW |