Index: build/config/android/internal_rules.gni |
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni |
index ec5f76c18b6bb61e3229c97a66f4cb9fd8eff90a..61e5f97326d19f0c28474e7c298029b91dfd3db8 100644 |
--- a/build/config/android/internal_rules.gni |
+++ b/build/config/android/internal_rules.gni |
@@ -679,9 +679,14 @@ template("emma_instr") { |
rebase_path("//", root_build_dir), |
"--emma-jar", |
rebase_path(_emma_jar, root_build_dir), |
- "--filter-string", |
- emma_filter, |
] |
+ |
+ if (emma_filter != "") { |
+ args += [ |
+ "--filter-string", |
+ emma_filter, |
+ ] |
+ } |
} |
} else { |
_output_jar_target = "${target_name}__copy_jar" |