OSDN Git Service

Merge stage-aosp-master into pi-dev-plus-aosp
[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_ANDROID_LIBRARIES := \
8     androidx.fragment_fragment \
9     androidx.legacy_legacy-support-core-ui \
10     androidx.core_core \
11     androidx.legacy_legacy-support-v13
12
13 LOCAL_STATIC_JAVA_LIBRARIES := \
14     com.android.gallery3d.common2 \
15     xmp_toolkit \
16     mp4parser
17
18 LOCAL_SRC_FILES := \
19     $(call all-java-files-under, src) \
20     $(call all-renderscript-files-under, src) \
21     $(call all-java-files-under, src_pd)
22
23 LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res
24
25 LOCAL_USE_AAPT2 := true
26
27 LOCAL_PACKAGE_NAME := Gallery2
28
29 LOCAL_PRODUCT_MODULE := true
30
31 LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D
32
33 LOCAL_SDK_VERSION := current
34
35 LOCAL_JNI_SHARED_LIBRARIES := \
36     libjni_eglfence \
37     libjni_filtershow_filters \
38     libjni_jpegstream
39
40 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
41
42 LOCAL_JAVA_LIBRARIES += org.apache.http.legacy
43
44 LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt
45
46 include $(BUILD_PACKAGE)
47
48 ifeq ($(strip $(LOCAL_PACKAGE_OVERRIDES)),)
49
50 # Use the following include to make gallery test apk
51 include $(call all-makefiles-under, $(LOCAL_PATH))
52
53 endif