OSDN Git Service

am 612e3bb4: (-s ours) Import translations. DO NOT MERGE
[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 := android-support-v13
8 LOCAL_STATIC_JAVA_LIBRARIES += com.android.gallery3d.common2
9 LOCAL_STATIC_JAVA_LIBRARIES += xmp_toolkit
10 LOCAL_STATIC_JAVA_LIBRARIES += mp4parser
11 LOCAL_STATIC_JAVA_LIBRARIES += android-support-v8-renderscript
12
13 LOCAL_RENDERSCRIPT_TARGET_API := 18
14 LOCAL_RENDERSCRIPT_COMPATIBILITY := 18
15 LOCAL_RENDERSCRIPT_FLAGS := -rs-package-name=android.support.v8.renderscript
16
17 # Keep track of previously compiled RS files too (from bundled GalleryGoogle).
18 prev_compiled_rs_files := $(call all-renderscript-files-under, src)
19
20 # We already have these files from GalleryGoogle, so don't install them.
21 LOCAL_RENDERSCRIPT_SKIP_INSTALL := $(prev_compiled_rs_files)
22
23 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(prev_compiled_rs_files)
24 LOCAL_SRC_FILES += $(call all-java-files-under, src_pd)
25
26 LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res
27
28 LOCAL_AAPT_FLAGS := --auto-add-overlay
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 librsjni libjni_jpegstream
37
38 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
39
40 LOCAL_MULTILIB := 32
41
42 include $(BUILD_PACKAGE)
43
44 include $(call all-makefiles-under, jni)
45
46 ifeq ($(strip $(LOCAL_PACKAGE_OVERRIDES)),)
47
48 # Use the following include to make gallery test apk
49 include $(call all-makefiles-under, $(LOCAL_PATH))
50
51 endif