Index: build/config/android/rules.gni |
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni |
index a280be3b689b5fa15bb2f110573597ffc8ee58c4..c9db22a5b67aa4a3fef38e520f4cc9cec2a240d2 100644 |
--- a/build/config/android/rules.gni |
+++ b/build/config/android/rules.gni |
@@ -1919,6 +1919,9 @@ template("android_apk") { |
if (_create_language_splits) { |
args += [ "--split=${_rebased_apk_path_no_ext}-language-*.apk" ] |
} |
+ if (_load_library_from_apk) { |
+ args += [ "--dont-even-try=Incremental builds do not work with load_library_from_apk. Try setting is_component_build=true in your GN args." ] |
+ } |
} |
group(target_name) { |