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

Unified Diff: build/config/android/rules.gni

Issue 1198693002: Reland "Roll buildtools fa660d47..ecc8e253" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android rules for missing dependencies Created 5 years, 6 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 | « DEPS ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/rules.gni
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni
index 96cbe44f1ca6d5a8ddd2d78217e4f6ab2360c15b..57af185bf57bc78c2f06370682fa8b144f931c21 100644
--- a/build/config/android/rules.gni
+++ b/build/config/android/rules.gni
@@ -554,6 +554,8 @@ template("jinja_template_resources") {
# Variables:
# sources: List of .pak files. Names must be of the form "en.pak" or
# "en-US.pak".
+# deps: (optional) List of dependencies that might be needed to generate
+# the .pak files.
#
# Example
# locale_pak_resources("locale_paks") {
@@ -591,6 +593,10 @@ template("locale_pak_resources") {
"--depfile",
rebase_path(depfile, root_build_dir),
]
+
+ if (defined(invoker.deps)) {
+ deps = invoker.deps
+ }
}
group(target_name) {
« no previous file with comments | « DEPS ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698