Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
Ruei-sung Lin | e5c8ed7 | 2012-05-31 11:59:31 -0700 | [diff] [blame] | 2 | |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_MODULE_TAGS := optional |
| 6 | |
Alan Viverette | 86f481b | 2017-12-11 17:57:32 -0500 | [diff] [blame] | 7 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
Aurimas Liutikas | 913fd7f | 2018-03-29 19:39:49 +0000 | [diff] [blame] | 8 | androidx.fragment_fragment \ |
| 9 | androidx.legacy_legacy-support-core-ui \ |
| 10 | androidx.core_core \ |
| 11 | androidx.legacy_legacy-support-v13 |
Alan Viverette | 86f481b | 2017-12-11 17:57:32 -0500 | [diff] [blame] | 12 | |
| 13 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 14 | com.android.gallery3d.common2 \ |
| 15 | xmp_toolkit \ |
| 16 | mp4parser |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 17 | |
Ying Wang | 95e6c6b | 2015-09-25 16:23:24 -0700 | [diff] [blame] | 18 | LOCAL_SRC_FILES := \ |
| 19 | $(call all-java-files-under, src) \ |
Alan Viverette | 86f481b | 2017-12-11 17:57:32 -0500 | [diff] [blame] | 20 | $(call all-renderscript-files-under, src) \ |
| 21 | $(call all-java-files-under, src_pd) |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 22 | |
Alan Viverette | 86f481b | 2017-12-11 17:57:32 -0500 | [diff] [blame] | 23 | LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res |
Owen Lin | 8a861a0 | 2012-08-24 15:09:42 +0800 | [diff] [blame] | 24 | |
Alan Viverette | 86f481b | 2017-12-11 17:57:32 -0500 | [diff] [blame] | 25 | LOCAL_USE_AAPT2 := true |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 26 | |
| 27 | LOCAL_PACKAGE_NAME := Gallery2 |
| 28 | |
| 29 | LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D |
| 30 | |
Wu-cheng Li | 9b67237 | 2012-10-07 03:29:50 +0800 | [diff] [blame] | 31 | LOCAL_SDK_VERSION := current |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 32 | |
Alan Viverette | 86f481b | 2017-12-11 17:57:32 -0500 | [diff] [blame] | 33 | LOCAL_JNI_SHARED_LIBRARIES := \ |
| 34 | libjni_eglfence \ |
| 35 | libjni_filtershow_filters \ |
| 36 | libjni_jpegstream |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 37 | |
| 38 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 39 | |
Narayan Kamath | dd0ab3f | 2015-02-13 10:23:11 +0000 | [diff] [blame] | 40 | LOCAL_JAVA_LIBRARIES += org.apache.http.legacy |
| 41 | |
Jiyong Park | e9eeb27 | 2018-04-05 16:12:39 +0900 | [diff] [blame] | 42 | LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt |
| 43 | |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 44 | include $(BUILD_PACKAGE) |
| 45 | |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 46 | ifeq ($(strip $(LOCAL_PACKAGE_OVERRIDES)),) |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 47 | |
Doris Liu | b7f4482 | 2013-06-20 18:32:26 -0700 | [diff] [blame] | 48 | # Use the following include to make gallery test apk |
Michael Kolb | 25668cd | 2013-01-29 10:33:22 -0800 | [diff] [blame] | 49 | include $(call all-makefiles-under, $(LOCAL_PATH)) |
Ruei-sung Lin | e5c8ed7 | 2012-05-31 11:59:31 -0700 | [diff] [blame] | 50 | |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 51 | endif |