blob: eff217a9a3d0f1e7e2baad4ac5eb61cabd72c8e7 [file] [log] [blame]
Danny Baumann6677f512013-02-23 13:19:00 +01001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_MODULE_TAGS := optional
5
linus_lee71810eb2014-11-20 16:39:38 -08006LOCAL_SRC_FILES := src/com/cyanogenmod/eleven/IElevenService.aidl
Danny Baumann6677f512013-02-23 13:19:00 +01007LOCAL_SRC_FILES += $(call all-java-files-under, src)
8
9LOCAL_STATIC_JAVA_LIBRARIES := \
linus_lee32e94922014-09-02 18:57:39 -070010 android-support-v8-renderscript \
linus_leeb6facc72014-08-20 17:49:59 -070011 android-common \
linus_lee82749812014-11-19 17:52:53 -080012 android-visualizer \
Wilhelm Fitzpatrick5d1bf7f2014-09-04 16:24:02 -070013 eleven_support_v4 \
Wilhelm Fitzpatrick5d1bf7f2014-09-04 16:24:02 -070014 eleven_recyclerview
Danny Baumann6677f512013-02-23 13:19:00 +010015
Linus Lee5601e2a2014-08-04 15:05:06 -070016LOCAL_PACKAGE_NAME := Eleven
Danny Baumann2e86a622013-03-07 16:06:17 +010017LOCAL_OVERRIDES_PACKAGES := Music
Danny Baumann6677f512013-02-23 13:19:00 +010018
Raj Yengisetty45dd9812014-10-16 15:44:35 -070019LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.cfg
Raj Yengisetty75828992014-10-22 15:12:36 -070020ifeq ($(TARGET_BUILD_VARIANT),user)
21 LOCAL_PROGUARD_ENABLED := obfuscation
22else
23 LOCAL_PROGUARD_ENABLED := disabled
24endif
Danny Baumann6677f512013-02-23 13:19:00 +010025
26include $(BUILD_PACKAGE)
27
linus_leeb6facc72014-08-20 17:49:59 -070028include $(CLEAR_VARS)
29
linus_lee32e94922014-09-02 18:57:39 -070030LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
Wilhelm Fitzpatrick5d1bf7f2014-09-04 16:24:02 -070031 eleven_recyclerview:libs/android-support-v7-recyclerview.jar \
32 eleven_support_v4:libs/android-support-v4-21.jar
linus_leeb6facc72014-08-20 17:49:59 -070033include $(BUILD_MULTI_PREBUILT)