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

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

Issue 1711253002: Make _incremental targets work with emma_coverage=true (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comment Created 4 years, 10 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 | « build/config/android/internal_rules.gni ('k') | build/secondary/third_party/android_tools/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 c9db22a5b67aa4a3fef38e520f4cc9cec2a240d2..8386c96058cbbeace5cd7dc986ea37fd83443aee 100644
--- a/build/config/android/rules.gni
+++ b/build/config/android/rules.gni
@@ -1450,6 +1450,11 @@ template("android_apk") {
has_alternative_locale_resource = true
}
+ # Added emma to the target's classpath via its .build_config.
+ if (emma_coverage && !_emma_never_instrument) {
+ deps += [ "//third_party/android_tools:emma_device" ]
+ }
+
proguard_enabled = _proguard_enabled
if (_proguard_enabled) {
proguard_info = "$_proguard_jar_path.info"
@@ -1676,11 +1681,6 @@ template("android_apk") {
}
args = [ "--inputs=@FileArg($_dex_arg_key)" ]
}
-
- if (emma_coverage && !_emma_never_instrument) {
- no_locals = true
- sources += [ "$android_sdk_root/tools/lib/emma_device.jar" ]
- }
}
_native_libs_file_arg_dep = ":$build_config_target"
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | build/secondary/third_party/android_tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698