+8
−3
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Currently, the implementation library of the java_sdk_library is always being instrumented due to the issue described in b/159241638. With https://r.android.com/3079425, all compilation actions of the java_sdk_library is delegated to the implementation library. Consequently, this has caused all java_sdk_library to be instrumented, leading to coverage builds failing due to double instrumentation (i.e. instrumenting an already instrumented class file). In order to prevent such error, this change modifies the property of the implementation library to not instrument during coverage builds. This change also copies some additional java library properties from that of the implementation library to the top level sdk library, in order to ensure that all non-null androidmk entries are correctly reflected in that of the sdk library. Test: lunch husky-trunk_staging-userdebug && EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true m droid dist Bug: 340174053 Bug: 341170242 Change-Id: I9d8f1c190205fa7a827649961ba5222293a945ad