Index: build/config/android/rules.gni |
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni |
index 7b1bbedbd8f64e37b69804dfc882949cbb70c4ca..405f22889080d60cef1e347a9303c833a1ea6b3a 100644 |
--- a/build/config/android/rules.gni |
+++ b/build/config/android/rules.gni |
@@ -1783,6 +1783,9 @@ if (enable_java_templates) { |
if (defined(invoker.apk_under_test)) { |
deps += [ "${invoker.apk_under_test}__java" ] |
} |
+ if (emma_coverage && !_emma_never_instrument) { |
+ deps += [ "//third_party/android_tools:emma_device" ] |
+ } |
} |
# TODO(cjhopman): This is only ever needed to calculate the list of tests to |