Index: mojo/public/tools/bindings/mojom.gni |
diff --git a/mojo/public/tools/bindings/mojom.gni b/mojo/public/tools/bindings/mojom.gni |
index c510c30c066f73766e4f9596154a5b909df527fa..14ddb2fa48eb794514d97a2f58a75a7ace652d94 100644 |
--- a/mojo/public/tools/bindings/mojom.gni |
+++ b/mojo/public/tools/bindings/mojom.gni |
@@ -263,7 +263,7 @@ template("mojom") { |
} |
} |
- if (is_android && !defined(invoker.variant) && !defined(invoker.typemaps)) { |
+ if (is_android && !cpp_only) { |
import("//build/config/android/rules.gni") |
java_srcjar_target_name = target_name + "_java_sources" |