Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index 9ccd5c2646a123be8612572bab7b32c4287cb66e..0c10350f1e9c4f972ac3be214a3125defcd1d601 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -515,7 +515,7 @@ action("d8_js2c") { |
rebase_path(inputs, root_build_dir) |
} |
-if (is_android) { |
+if (is_android && enable_java_templates) { |
android_assets("v8_external_startup_data_assets") { |
if (v8_use_external_startup_data) { |
deps = [ |