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("//base/android/linker/config.gni") | 5 import("//base/android/linker/config.gni") |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 import("//build/config/android/internal_rules.gni") | 7 import("//build/config/android/internal_rules.gni") |
8 import("//build/config/sanitizers/sanitizers.gni") | 8 import("//build/config/sanitizers/sanitizers.gni") |
9 import("//build/toolchain/toolchain.gni") | 9 import("//build/toolchain/toolchain.gni") |
10 import("//third_party/android_platform/config.gni") | 10 import("//third_party/android_platform/config.gni") |
(...skipping 2264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2275 | 2275 |
2276 copy_ex(target_name) { | 2276 copy_ex(target_name) { |
2277 clear_dir = true | 2277 clear_dir = true |
2278 | 2278 |
2279 inputs = [ | 2279 inputs = [ |
2280 _libraries_list, | 2280 _libraries_list, |
2281 invoker.binary, | 2281 invoker.binary, |
2282 ] | 2282 ] |
2283 | 2283 |
2284 dest = invoker.dist_dir | 2284 dest = invoker.dist_dir |
| 2285 data = [ |
| 2286 "${invoker.dist_dir}/", |
| 2287 ] |
2285 | 2288 |
2286 _rebased_libraries_list = rebase_path(_libraries_list, root_build_dir) | 2289 _rebased_libraries_list = rebase_path(_libraries_list, root_build_dir) |
2287 _rebased_binaries_list = rebase_path([ invoker.binary ], root_build_dir) | 2290 _rebased_binaries_list = rebase_path([ invoker.binary ], root_build_dir) |
2288 args = [ | 2291 args = [ |
2289 "--files=@FileArg($_rebased_libraries_list:lib_paths)", | 2292 "--files=@FileArg($_rebased_libraries_list:lib_paths)", |
2290 "--files=$_rebased_binaries_list", | 2293 "--files=$_rebased_binaries_list", |
2291 ] | 2294 ] |
2292 if (defined(invoker.extra_files)) { | 2295 if (defined(invoker.extra_files)) { |
2293 _rebased_extra_files = rebase_path(invoker.extra_files, root_build_dir) | 2296 _rebased_extra_files = rebase_path(invoker.extra_files, root_build_dir) |
2294 args += [ "--files=$_rebased_extra_files" ] | 2297 args += [ "--files=$_rebased_extra_files" ] |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2399 "--target", | 2402 "--target", |
2400 rebase_path(invoker.target, root_build_dir), | 2403 rebase_path(invoker.target, root_build_dir), |
2401 "--output-directory", | 2404 "--output-directory", |
2402 rebase_path(root_out_dir, root_build_dir), | 2405 rebase_path(root_out_dir, root_build_dir), |
2403 ] | 2406 ] |
2404 if (defined(invoker.flag_name)) { | 2407 if (defined(invoker.flag_name)) { |
2405 args += [ "--flag-name=${invoker.flag_name}" ] | 2408 args += [ "--flag-name=${invoker.flag_name}" ] |
2406 } | 2409 } |
2407 } | 2410 } |
2408 } | 2411 } |
OLD | NEW |