Commit 951cef6b authored by agrieve's avatar agrieve Committed by Commit bot

Allow jinja_template_resources to have deps

BUG=641888

Review-Url: https://codereview.chromium.org/2321773003
Cr-Commit-Position: refs/heads/master@{#417332}
parent 3f8d0fab
...@@ -567,9 +567,13 @@ if (enable_java_templates) { ...@@ -567,9 +567,13 @@ if (enable_java_templates) {
build_config = _build_config build_config = _build_config
resources_zip = _resources_zip resources_zip = _resources_zip
type = "android_resources" type = "android_resources"
if (defined(invoker.deps)) {
possible_config_deps = invoker.deps
}
} }
action("${target_name}__template") { action("${target_name}__template") {
forward_variables_from(invoker, [ "deps" ])
sources = invoker.resources sources = invoker.resources
script = "//build/android/gyp/jinja_template.py" script = "//build/android/gyp/jinja_template.py"
depfile = "$target_gen_dir/$target_name.d" depfile = "$target_gen_dir/$target_name.d"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment