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

Unified Diff: build/java_apk.gypi

Issue 48363006: [Android] Exclude test apks's from emma coverage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/java_apk.gypi
diff --git a/build/java_apk.gypi b/build/java_apk.gypi
index de54c76e77f9518438a2f6cbf43449009282d2d6..afc2babcde308e6c020a1cdb5f319089d5adf298 100644
--- a/build/java_apk.gypi
+++ b/build/java_apk.gypi
@@ -122,6 +122,7 @@
'native_lib_target%': '',
'use_content_linker%': 0,
'enable_content_linker_tests%': 0,
+ 'is_test_apk%': 0,
},
'conditions': [
['gyp_managed_install == 1 and native_lib_target != ""', {
@@ -134,12 +135,17 @@
}, {
'apk_package_native_libs_dir': '<(intermediate_dir)/libs',
}],
+ ['is_test_apk == 0 and emma_coverage != 0', {
+ 'emma_instrument': 1,
+ },{
+ 'emma_instrument': 0,
+ }],
],
},
'native_lib_target%': '',
'use_content_linker%': 0,
'enable_content_linker_tests%': 0,
- 'emma_instrument': '<(emma_coverage)',
+ 'emma_instrument': '<(emma_instrument)',
'apk_package_native_libs_dir': '<(apk_package_native_libs_dir)',
'unsigned_standalone_apk_path': '<(unsigned_standalone_apk_path)',
'extra_native_libs': [],
« 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