Merge "Move SettingsLib tests and EasterEgg to aapt2."
This commit is contained in:
committed by
Gerrit Code Review
commit
846fbd0806
@@ -2,17 +2,23 @@ LOCAL_PATH:= $(call my-dir)
|
|||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
|
||||||
LOCAL_STATIC_JAVA_LIBRARIES := \
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
||||||
|
jsr305
|
||||||
|
|
||||||
|
LOCAL_STATIC_ANDROID_LIBRARIES := \
|
||||||
android-support-v4 \
|
android-support-v4 \
|
||||||
android-support-v13 \
|
android-support-v13 \
|
||||||
android-support-dynamic-animation \
|
android-support-dynamic-animation \
|
||||||
android-support-v7-recyclerview \
|
android-support-v7-recyclerview \
|
||||||
android-support-v7-preference \
|
android-support-v7-preference \
|
||||||
android-support-v7-appcompat \
|
android-support-v7-appcompat \
|
||||||
android-support-v14-preference \
|
android-support-v14-preference
|
||||||
jsr305
|
|
||||||
|
LOCAL_USE_AAPT2 := true
|
||||||
|
|
||||||
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
||||||
|
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
|
||||||
|
|
||||||
LOCAL_PACKAGE_NAME := EasterEgg
|
LOCAL_PACKAGE_NAME := EasterEgg
|
||||||
LOCAL_PRIVATE_PLATFORM_APIS := true
|
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ LOCAL_PACKAGE_NAME := SettingsLibTests
|
|||||||
LOCAL_PRIVATE_PLATFORM_APIS := true
|
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||||
LOCAL_COMPATIBILITY_SUITE := device-tests
|
LOCAL_COMPATIBILITY_SUITE := device-tests
|
||||||
|
|
||||||
|
LOCAL_USE_AAPT2 := true
|
||||||
|
|
||||||
LOCAL_STATIC_JAVA_LIBRARIES := \
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
||||||
android-support-test \
|
android-support-test \
|
||||||
espresso-core \
|
espresso-core \
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ LOCAL_PRIVILEGED_MODULE := true
|
|||||||
LOCAL_RESOURCE_DIR := \
|
LOCAL_RESOURCE_DIR := \
|
||||||
$(LOCAL_PATH)/res
|
$(LOCAL_PATH)/res
|
||||||
|
|
||||||
|
LOCAL_USE_AAPT2 := true
|
||||||
|
|
||||||
include frameworks/base/packages/SettingsLib/common.mk
|
include frameworks/base/packages/SettingsLib/common.mk
|
||||||
|
|
||||||
include $(BUILD_PACKAGE)
|
include $(BUILD_PACKAGE)
|
||||||
|
|||||||
Reference in New Issue
Block a user