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

Unified Diff: chrome/android/webapk/shell_apk/manifest_processor.gni

Issue 2956193002: [Android] Enable WebAPK to have multiple intent filters (Closed)
Patch Set: Merge branch 'rewriting0' into rewriting Created 3 years, 5 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
Index: chrome/android/webapk/shell_apk/manifest_processor.gni
diff --git a/chrome/android/webapk/shell_apk/manifest_processor.gni b/chrome/android/webapk/shell_apk/manifest_processor.gni
index 994c46931bae327cc52674d4b68545116f294b37..ae922d9e77fdd0aeeffeba984dfea41b577f00ea 100644
--- a/chrome/android/webapk/shell_apk/manifest_processor.gni
+++ b/chrome/android/webapk/shell_apk/manifest_processor.gni
@@ -18,6 +18,7 @@ template("manifest_processor_template") {
"deps",
])
sources = [
+ invoker.config_file,
invoker.input,
]
script = "//chrome/android/webapk/shell_apk/manifest_processor.py"
@@ -29,12 +30,14 @@ template("manifest_processor_template") {
args = [
"--template",
rebase_path(invoker.input, root_build_dir),
+ "--config_file",
+ rebase_path(invoker.config_file, root_build_dir),
"--output",
rebase_path(invoker.output, root_build_dir),
]
- if (defined(invoker.variables)) {
- variables = invoker.variables
- args += [ "--variables=${variables}" ]
+ if (defined(invoker.extra_variables)) {
+ extra_variables = invoker.extra_variables
+ args += [ "--extra_variables=${extra_variables}" ]
}
}
}

Powered by Google App Engine
This is Rietveld 408576698