OSDN Git Service

Import translations. DO NOT MERGE am: 7367f4e5a3 -s ours am: 21391848ee -s ours
[android-x86/packages-apps-Gallery2.git] / Android.mk
1 LOCAL_PATH:= $(call my-dir)
2
3 include $(CLEAR_VARS)
4
5 LOCAL_MODULE_TAGS := optional
6
7 LOCAL_STATIC_JAVA_LIBRARIES := \
8     android-support-v4 \
9     android-support-v13
10 LOCAL_STATIC_JAVA_LIBRARIES += com.android.gallery3d.common2
11 LOCAL_STATIC_JAVA_LIBRARIES += xmp_toolkit
12 LOCAL_STATIC_JAVA_LIBRARIES += mp4parser
13
14 LOCAL_SRC_FILES := \
15     $(call all-java-files-under, src) \
16     $(call all-renderscript-files-under, src)
17 LOCAL_SRC_FILES += $(call all-java-files-under, src_pd)
18
19 LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res \
20     $(LOCAL_PATH)/../../../frameworks/support/compat/res \
21     $(LOCAL_PATH)/../../../frameworks/support/media-compat/res \
22     $(LOCAL_PATH)/../../../frameworks/support/core-ui/res
23
24 LOCAL_AAPT_FLAGS := --auto-add-overlay
25 LOCAL_AAPT_FLAGS += \
26     --extra-packages android.support.compat \
27     --extra-packages android.support.mediacompat \
28     --extra-packages android.support.coreui \
29
30 LOCAL_PACKAGE_NAME := Gallery2
31
32 LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D
33
34 LOCAL_SDK_VERSION := current
35
36 LOCAL_JNI_SHARED_LIBRARIES := libjni_eglfence libjni_filtershow_filters libjni_jpegstream
37
38 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
39
40 LOCAL_JAVA_LIBRARIES += org.apache.http.legacy
41
42 include $(BUILD_PACKAGE)
43
44 ifeq ($(strip $(LOCAL_PACKAGE_OVERRIDES)),)
45
46 # Use the following include to make gallery test apk
47 include $(call all-makefiles-under, $(LOCAL_PATH))
48
49 endif