c75937264b
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 |
||
---|---|---|
.. | ||
Android.bp | ||
androidmk.go | ||
apex.go | ||
apex_sdk_member.go | ||
apex_singleton.go | ||
apex_test.go | ||
bootclasspath_fragment_test.go | ||
bp2build.go | ||
builder.go | ||
classpath_element_test.go | ||
deapexer.go | ||
key.go | ||
OWNERS | ||
platform_bootclasspath_test.go | ||
prebuilt.go | ||
systemserver_classpath_fragment_test.go | ||
TEST_MAPPING | ||
testing.go | ||
vndk.go | ||
vndk_test.go |