Index: build/config/android/rules.gni |
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni |
index 6c528444f12c3de42b480b76bdcb4a1b00fa94a2..1d0a1f723c910a541c45aba9c9c5ec254c761ea9 100644 |
--- a/build/config/android/rules.gni |
+++ b/build/config/android/rules.gni |
@@ -1221,7 +1221,7 @@ template("android_apk") { |
# The dependency that makes the chromium linker, if any is needed. |
_chromium_linker_dep = [] |
- if (defined(invoker.native_libs)) { |
+ if (defined(invoker.native_libs) && invoker.native_libs != []) { |
_use_chromium_linker = false |
if (defined(invoker.use_chromium_linker)) { |
_use_chromium_linker = |