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

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

Issue 870093002: Add apk native libs to the inputs of appropriate actions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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("//tools/grit/grit_rule.gni") 8 import("//tools/grit/grit_rule.gni")
9 import("//tools/relocation_packer/config.gni") 9 import("//tools/relocation_packer/config.gni")
10 10
(...skipping 1323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1334 } 1334 }
1335 1335
1336 if (_native_libs != []) { 1336 if (_native_libs != []) {
1337 action("${_template_name}__prepare_native") { 1337 action("${_template_name}__prepare_native") {
1338 script = "//build/android/gyp/pack_arm_relocations.py" 1338 script = "//build/android/gyp/pack_arm_relocations.py"
1339 packed_libraries_dir = "$_native_libs_dir/$android_app_abi" 1339 packed_libraries_dir = "$_native_libs_dir/$android_app_abi"
1340 depfile = "$target_gen_dir/$target_name.d" 1340 depfile = "$target_gen_dir/$target_name.d"
1341 outputs = [ 1341 outputs = [
1342 depfile, 1342 depfile,
1343 ] 1343 ]
1344 inputs = [ 1344 inputs = [ _build_config ] + _native_libs
1345 _build_config,
1346 ]
1347 deps = [] 1345 deps = []
1348 skip_packing_list = [ 1346 skip_packing_list = [
1349 "gdbserver", 1347 "gdbserver",
1350 "libchromium_android_linker.so", 1348 "libchromium_android_linker.so",
1351 ] 1349 ]
1352 1350
1353 enable_packing_arg = 0 1351 enable_packing_arg = 0
1354 if (_enable_relocation_packing) { 1352 if (_enable_relocation_packing) {
1355 enable_packing_arg = 1 1353 enable_packing_arg = 1
1356 deps += [ relocation_packer_target ] 1354 deps += [ relocation_packer_target ]
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
1728 template("uiautomator_test") { 1726 template("uiautomator_test") {
1729 set_sources_assignment_filter([]) 1727 set_sources_assignment_filter([])
1730 if (defined(invoker.testonly)) { 1728 if (defined(invoker.testonly)) {
1731 testonly = invoker.testonly 1729 testonly = invoker.testonly
1732 } 1730 }
1733 assert(target_name != "") 1731 assert(target_name != "")
1734 assert(invoker.deps != [] || true) 1732 assert(invoker.deps != [] || true)
1735 group(target_name) { 1733 group(target_name) {
1736 } 1734 }
1737 } 1735 }
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