From d40d8b83c3fef6f0a89a87ef14ca30c6de2ed2f0 Mon Sep 17 00:00:00 2001 From: cretin45 Date: Mon, 1 Feb 2016 13:53:56 -0800 Subject: SetupWizard: Fix test app building in 13 Change-Id: I53d5317070950d75637182c9284a7a38ec99c222 --- tests/Android.mk | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/Android.mk b/tests/Android.mk index 9444a01..aad7454 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -1,10 +1,9 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) -# We only want this apk build for tests. -LOCAL_MODULE_TAGS := tests +LOCAL_MODULE_TAGS := optional -LOCAL_JAVA_LIBRARIES := android.test.runner +LOCAL_PRIVILEGED_MODULE := true # Include all test java files. LOCAL_SRC_FILES := $(call all-java-files-under, src) @@ -12,6 +11,4 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_PACKAGE_NAME := CyanogenSetupWizardTests LOCAL_CERTIFICATE := platform -LOCAL_INSTRUMENTATION_FOR := CyanogenSetupWizard - include $(BUILD_PACKAGE) -- cgit v1.1