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

Side by Side Diff: build/config/android/rules.gni

Issue 1898273002: 🐢 Make create_native_executable_dist() mark its dir as data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/config/android/internal_rules.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698