summaryrefslogtreecommitdiffstats
path: root/Android.mk
blob: 6144db7bf73a75d93c47318f0539d9d09ff15c1f (plain)
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
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES := $(call all-subdir-java-files)

LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4

# If this is an unbundled build (to install seprately) then include
# the libraries in the APK, otherwise just put them in /system/lib and
# leave them out of the APK
ifneq (,$(TARGET_BUILD_APPS))
    LOCAL_JNI_SHARED_LIBRARIES := libjni_terminal
else
    LOCAL_REQUIRED_MODULES := libjni_terminal
endif

# TODO: enable proguard once development has settled down
#LOCAL_PROGUARD_FLAG_FILES := proguard.flags
LOCAL_PROGUARD_ENABLED := disabled

LOCAL_PACKAGE_NAME := Terminal

include $(BUILD_PACKAGE)

include $(call all-makefiles-under,$(LOCAL_PATH))