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

Commit 672079a7 authored by Brett Chabot's avatar Brett Chabot
Browse files

Fix Framework core tests import of android-common.

android.database.CursorWindowTest#testWriteCursorToWindow (and possibly other
tests) were was failing because it couldn't locate a android-common class.

Fix is to include android-common as a static library, as opposed to a runtime
library.

Change-Id: Iae50cf409e76a85ee79e4af71e9b903d18630078
parent 6c8687cf
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -11,11 +11,9 @@ LOCAL_SRC_FILES := \
	$(call all-java-files-under, DisabledTestApp/src) \
	$(call all-java-files-under, EnabledTestApp/src)

LOCAL_STATIC_JAVA_LIBRARIES += android-common

LOCAL_DX_FLAGS := --core-library
LOCAL_STATIC_JAVA_LIBRARIES := core-tests-supportlib
LOCAL_JAVA_LIBRARIES := android.test.runner android-common
LOCAL_STATIC_JAVA_LIBRARIES := core-tests-supportlib android-common
LOCAL_JAVA_LIBRARIES := android.test.runner
LOCAL_PACKAGE_NAME := FrameworksCoreTests

LOCAL_CERTIFICATE := platform