Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a16ce7ea authored by Chihhang Chuang's avatar Chihhang Chuang
Browse files

Fix build break from generating robo test code coverage

Use absolute path for LOCAL_INSTRUMENT_SOURCE_DIRS, because Jacoco fail
to get the source code path to parse the code coverage.

Test step:
1. tapas RunLauncherRoboTests
2. make -j30 dist (Make sure RunLauncherRoboTests does not break)
3. make -j30 RunLauncherRoboTests-jacoco dist
4. See the coverage report

Bug: 149001617
Change-Id: If82a839ae52c20c7eb269090976de05fa5d462c4
parent 70607cfe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ LOCAL_JAVA_LIBRARIES := LauncherRoboTests

LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
LOCAL_TEST_PACKAGE := Launcher3
LOCAL_INSTRUMENT_SOURCE_DIRS := $(dir $(LOCAL_PATH))../src
LOCAL_INSTRUMENT_SOURCE_DIRS := packages/apps/Launcher3/src

LOCAL_ROBOTEST_TIMEOUT := 36000