Danny Baumann | 6677f51 | 2013-02-23 13:19:00 +0100 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_MODULE_TAGS := optional |
| 5 | |
linus_lee | 71810eb | 2014-11-20 16:39:38 -0800 | [diff] [blame] | 6 | LOCAL_SRC_FILES := src/com/cyanogenmod/eleven/IElevenService.aidl |
Danny Baumann | 6677f51 | 2013-02-23 13:19:00 +0100 | [diff] [blame] | 7 | LOCAL_SRC_FILES += $(call all-java-files-under, src) |
| 8 | |
| 9 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
linus_lee | 32e9492 | 2014-09-02 18:57:39 -0700 | [diff] [blame] | 10 | android-support-v8-renderscript \ |
linus_lee | b6facc7 | 2014-08-20 17:49:59 -0700 | [diff] [blame] | 11 | android-common \ |
linus_lee | 8274981 | 2014-11-19 17:52:53 -0800 | [diff] [blame] | 12 | android-visualizer \ |
Wilhelm Fitzpatrick | 5d1bf7f | 2014-09-04 16:24:02 -0700 | [diff] [blame] | 13 | eleven_support_v4 \ |
Wilhelm Fitzpatrick | 5d1bf7f | 2014-09-04 16:24:02 -0700 | [diff] [blame] | 14 | eleven_recyclerview |
Danny Baumann | 6677f51 | 2013-02-23 13:19:00 +0100 | [diff] [blame] | 15 | |
Linus Lee | 5601e2a | 2014-08-04 15:05:06 -0700 | [diff] [blame] | 16 | LOCAL_PACKAGE_NAME := Eleven |
Danny Baumann | 2e86a62 | 2013-03-07 16:06:17 +0100 | [diff] [blame] | 17 | LOCAL_OVERRIDES_PACKAGES := Music |
Danny Baumann | 6677f51 | 2013-02-23 13:19:00 +0100 | [diff] [blame] | 18 | |
Raj Yengisetty | 45dd981 | 2014-10-16 15:44:35 -0700 | [diff] [blame] | 19 | LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.cfg |
Raj Yengisetty | 7582899 | 2014-10-22 15:12:36 -0700 | [diff] [blame] | 20 | ifeq ($(TARGET_BUILD_VARIANT),user) |
| 21 | LOCAL_PROGUARD_ENABLED := obfuscation |
| 22 | else |
| 23 | LOCAL_PROGUARD_ENABLED := disabled |
| 24 | endif |
Danny Baumann | 6677f51 | 2013-02-23 13:19:00 +0100 | [diff] [blame] | 25 | |
| 26 | include $(BUILD_PACKAGE) |
| 27 | |
linus_lee | b6facc7 | 2014-08-20 17:49:59 -0700 | [diff] [blame] | 28 | include $(CLEAR_VARS) |
| 29 | |
linus_lee | 32e9492 | 2014-09-02 18:57:39 -0700 | [diff] [blame] | 30 | LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \ |
Wilhelm Fitzpatrick | 5d1bf7f | 2014-09-04 16:24:02 -0700 | [diff] [blame] | 31 | eleven_recyclerview:libs/android-support-v7-recyclerview.jar \ |
| 32 | eleven_support_v4:libs/android-support-v4-21.jar |
linus_lee | b6facc7 | 2014-08-20 17:49:59 -0700 | [diff] [blame] | 33 | include $(BUILD_MULTI_PREBUILT) |