Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2700)

Unified Diff: android_webview/BUILD.gn

Issue 1581253002: aw: Configurable system_webview_apk package name (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/BUILD.gn
diff --git a/android_webview/BUILD.gn b/android_webview/BUILD.gn
index 2498a1ca44843c2a21df73d84c6a403febf74246..30856d9d7206ad5b6ad38edd53a117e856d90ed8 100644
--- a/android_webview/BUILD.gn
+++ b/android_webview/BUILD.gn
@@ -9,6 +9,11 @@ import("//tools/grit/repack.gni")
import("system_webview_apk_tmpl.gni")
import("webview_repack_locales.gni")
+declare_args() {
+ # Package name of the system_webview_apk target.
+ system_webview_package_name = "com.android.webview"
+}
+
if (!defined(use_webview_internal_framework)) {
use_webview_internal_framework = false
}
@@ -24,6 +29,7 @@ group("android_webview") {
jinja_template("system_webview_manifest") {
input = "apk/java/AndroidManifest.xml"
output = "$target_gen_dir/system_webview_manifest/AndroidManifest.xml"
+ variables = [ "package=$system_webview_package_name" ]
}
webview_repack_locales("repack_locales") {
@@ -155,7 +161,7 @@ action("generate_webview_license_notice") {
android_resources("system_webview_resources") {
resource_dirs = [ "apk/java/res" ]
- custom_package = "com.android.webview"
+ custom_package = system_webview_package_name
}
android_resources("resources") {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698