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

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

Issue 2515383002: Pass deps to emma_instr target (Closed)
Patch Set: address comment Created 4 years, 1 month 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: build/config/android/internal_rules.gni
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
index 6a7cda3bc6c150809c8e7defbf06f6d4f11a2d84..3c772ba363ff26571a27d434bb1935095263236d 100644
--- a/build/config/android/internal_rules.gni
+++ b/build/config/android/internal_rules.gni
@@ -2109,6 +2109,7 @@ if (enable_java_templates) {
emma_instr(_emma_instr_target_name) {
forward_variables_from(invoker,
[
+ "deps",
"java_files",
"java_sources_file",
])
@@ -2116,9 +2117,10 @@ if (enable_java_templates) {
input_jar_path = _process_prebuilt_jar_path
output_jar_path = _final_jar_path
- deps = [
- ":$_process_prebuilt_target_name",
- ]
+ if (!defined(deps)) {
+ deps = []
+ }
+ deps += [ ":$_process_prebuilt_target_name" ]
}
}
« 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