summaryrefslogtreecommitdiff
path: root/python/python.go
diff options
context:
space:
mode:
author Sam Delmerico <delmerico@google.com> 2022-08-31 15:57:52 -0400
committer Sam Delmerico <delmerico@google.com> 2022-08-31 16:15:27 -0400
commitc75937264b6d47630f23cb9f54b476e65bbf848d (patch)
treeca02653ff8e909ad020beb90b623efa1b86376b2 /python/python.go
parentf9f9ed7cf1718a7d520af8306b03b37c8226dd55 (diff)
jacoco libs dependency for instrumented libraries
On coverage builds, R8 will fail to properly optimize and fail the build if ignore_warnings: false, because jacoco injects dependencies on jacocoagent classes, but the jacocoagent library is not part of the classpath libraries passed in to R8 in its arguments. Instead we can add jacocoagent as a libs dependency for these modules so that it will get pulled into the r8 flags. Bug: 243903417 Test: add optimize.ignore_warnings: false to NetworkStackAppDefaults && make SKIP_ABI_CHECKS=true PRODUCT=cf_x86_phone-userdebug \ EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true \ CLANG_COVERAGE=true COVERAGE_PATHS="" \ TARGET_USERDATAIMAGE_PARTITION_SIZE=17179869184 \ SKIP_BOOT_JARS_CHECK=true \ NetworkStack Change-Id: I71313b1fd35437ec52890f5c30b3fd1381c7c3d2
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions