OSDN Git Service

Eleven: Add missing metadata keys for Avrcp.
[android-x86/packages-apps-Eleven.git] / Android.mk
index 4fb5d09..c0af5f5 100644 (file)
@@ -3,18 +3,33 @@ include $(CLEAR_VARS)
 
 LOCAL_MODULE_TAGS := optional
 
-LOCAL_SRC_FILES := $(call all-java-files-under, src) \
-       src/com/android/music/IMediaPlaybackService.aidl
-
-LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4
-
-LOCAL_PACKAGE_NAME := Music
-
-LOCAL_SDK_VERSION := current
-
-LOCAL_PROGUARD_FLAG_FILES := proguard.flags
+LOCAL_SRC_FILES := src/com/cyanogenmod/eleven/IElevenService.aidl
+LOCAL_SRC_FILES += $(call all-java-files-under, src)
+
+LOCAL_STATIC_JAVA_LIBRARIES := \
+    android-support-v8-renderscript \
+    android-support-v7-palette \
+    android-common \
+    android-visualizer \
+    eleven_support_v4 \
+    eleven_recyclerview \
+    guava
+
+LOCAL_PACKAGE_NAME := Eleven
+LOCAL_OVERRIDES_PACKAGES := Music
+
+LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.cfg
+ifeq ($(TARGET_BUILD_VARIANT),user)
+    LOCAL_PROGUARD_ENABLED := obfuscation
+else
+    LOCAL_PROGUARD_ENABLED := disabled
+endif
 
 include $(BUILD_PACKAGE)
 
-# Use the following include to make our test apk.
-include $(call all-makefiles-under,$(LOCAL_PATH))
+include $(CLEAR_VARS)
+
+LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
+    eleven_recyclerview:libs/android-support-v7-recyclerview.jar \
+    eleven_support_v4:libs/android-support-v4-21.jar
+include $(BUILD_MULTI_PREBUILT)