Index: android_webview/BUILD.gn |
diff --git a/android_webview/BUILD.gn b/android_webview/BUILD.gn |
index 5927a3c122b44c07540ea995ed4cbba90625556d..d97c3d6c6048df6ba0f0dccfa86426cb021704ab 100644 |
--- a/android_webview/BUILD.gn |
+++ b/android_webview/BUILD.gn |
@@ -18,9 +18,6 @@ |
use_webview_internal_framework = false |
} |
-system_webview_android_manifest = |
- "$target_gen_dir/system_webview_apk/AndroidManifest.xml" |
- |
group("android_webview") { |
if (!use_webview_internal_framework) { |
deps = [ |
@@ -31,7 +28,7 @@ |
jinja_template("system_webview_manifest") { |
input = "apk/java/AndroidManifest.xml" |
- output = system_webview_android_manifest |
+ output = "$target_gen_dir/system_webview_manifest/AndroidManifest.xml" |
variables = [ "package=$system_webview_package_name" ] |
} |
@@ -787,7 +784,8 @@ |
if (!use_webview_internal_framework) { |
system_webview_apk_tmpl("system_webview_apk") { |
- android_manifest = system_webview_android_manifest |
+ android_manifest = get_target_outputs(":system_webview_manifest") |
+ android_manifest = android_manifest[1] |
android_manifest_dep = ":system_webview_manifest" |
deps = [ |
":system_webview_resources", |