platform_build_soong/apex
Sam Delmerico c75937264b 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
2022-08-31 16:15:27 -04:00
..
Android.bp Export default apex version from updatable_modules.go to Bazel's 2022-08-02 10:11:36 +00:00
androidmk.go Remove obsolete notice property. 2022-07-29 17:54:40 +00:00
apex.go Merge "Place native shared libs for soong build DCLA." 2022-08-19 17:23:24 +00:00
apex_sdk_member.go Add apexes property to sdk 2022-07-06 15:58:43 +00:00
apex_singleton.go Merge "Update error message for new policy." am: bf49705608 am: 775f9e37c7 2021-08-04 10:20:47 +00:00
apex_test.go jacoco libs dependency for instrumented libraries 2022-08-31 16:15:27 -04:00
bootclasspath_fragment_test.go bootclasspath_fragment: Require at least one hidden_api package property 2022-05-27 16:27:50 +01:00
bp2build.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
builder.go Place native shared libs for soong build DCLA. 2022-08-18 18:25:19 +00:00
classpath_element_test.go bootclasspath_fragment: Require at least one hidden_api package property 2022-05-27 16:27:50 +01:00
deapexer.go Consolidate the code to resolve a deapexer module dependency. 2021-09-23 17:19:55 +01:00
key.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
OWNERS
platform_bootclasspath_test.go bootclasspath_fragment: Require at least one hidden_api package property 2022-05-27 16:27:50 +01:00
prebuilt.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
systemserver_classpath_fragment_test.go Add entries for STANDALONE_SYSTEMSERVER_JARS to systemserverclasspath.pb 2021-11-30 10:51:10 +00:00
TEST_MAPPING
testing.go Surface Java APIs Used By APK-only Modules. 2022-04-05 21:28:29 +00:00
vndk.go Remove the compat symlinks to ART binaries. 2021-12-14 17:56:26 +00:00
vndk_test.go Remove obsolete notice property. 2022-07-29 17:54:40 +00:00