forked from TEAM-Gummy/android_packages_apps_GummyUpdater
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathAndroid.mk
43 lines (29 loc) · 1.06 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
LOCAL_PATH:= $(call my-dir)
ifneq ($(TARGET_RECOVERY_FSTAB),)
recovery_fstab := $(strip $(wildcard $(TARGET_RECOVERY_FSTAB)))
else
recovery_fstab := $(strip $(wildcard $(TARGET_DEVICE_DIR)/recovery.fstab))
endif
ALTERNATE_IS_INTERNAL := false
ifneq ($(recovery_fstab),)
recovery_fstab := $(ANDROID_BUILD_TOP)/$(recovery_fstab)
ifneq ($(shell grep "/emmc" $(recovery_fstab)),)
ALTERNATE_IS_INTERNAL := true
endif
endif
include $(CLEAR_VARS)
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
ifeq ($(ALTERNATE_IS_INTERNAL), true)
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res-compat $(LOCAL_RESOURCE_DIR)
endif
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_STATIC_JAVA_LIBRARIES := dashclockapi
LOCAL_PACKAGE_NAME := LiquidUpdater
LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.flags
LOCAL_PRIVILEGED_MODULE := true
include $(BUILD_PACKAGE)
##################################################
include $(CLEAR_VARS)
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := dashclockapi:libs/dashclock-api-r1.1.jar
include $(BUILD_MULTI_PREBUILT)