From 3d204626c7c1717d9c64cf6406e4909ebdfa7033 Mon Sep 17 00:00:00 2001 From: cjhopman Date: Fri, 23 Jan 2015 13:31:15 -0800 Subject: [PATCH] Add apk native libs to the inputs of appropriate actions Review URL: https://codereview.chromium.org/870093002 Cr-Original-Commit-Position: refs/heads/master@{#312933} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 2a452669e7f48d4e163ffc5c8d7afbad73945bdd --- config/android/internal_rules.gni | 1 + config/android/rules.gni | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/android/internal_rules.gni b/config/android/internal_rules.gni index 477870599..125aa2cd1 100644 --- a/config/android/internal_rules.gni +++ b/config/android/internal_rules.gni @@ -273,6 +273,7 @@ template("write_build_config") { if (is_apk) { if (defined(invoker.native_libs)) { + inputs += invoker.native_libs rebased_native_libs = rebase_path(invoker.native_libs, root_build_dir) rebased_android_readelf = rebase_path(android_readelf, root_build_dir) args += [ diff --git a/config/android/rules.gni b/config/android/rules.gni index 07431d7a2..cfc649540 100644 --- a/config/android/rules.gni +++ b/config/android/rules.gni @@ -1341,9 +1341,7 @@ template("android_apk") { outputs = [ depfile, ] - inputs = [ - _build_config, - ] + inputs = [ _build_config ] + _native_libs deps = [] skip_packing_list = [ "gdbserver",