mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user