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",