Colin Cross | e57011d | 2017-09-25 13:40:55 -0700 | [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 | |
Likai Ding | d42e6dc | 2013-08-19 16:33:24 +0800 | [diff] [blame] | 7 | LOCAL_JAVA_LIBRARIES := telephony-common |
| 8 | |
Colin Cross | e57011d | 2017-09-25 13:40:55 -0700 | [diff] [blame] | 9 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
| 10 | androidx.heifwriter_heifwriter \ |
| 11 | android-support-fragment \ |
| 12 | android-support-core-ui \ |
| 13 | android-support-compat \ |
Alan Viverette | 4dbb89d | 2017-05-09 15:46:16 -0400 | [diff] [blame] | 14 | android-support-v13 |
Tim Murray | a640516 | 2013-02-04 13:09:27 -0800 | [diff] [blame] | 15 | |
Colin Cross | e57011d | 2017-09-25 13:40:55 -0700 | [diff] [blame] | 16 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 17 | org.codeaurora.gallery.common \ |
| 18 | xmp_toolkit \ |
| 19 | mp4parser |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 20 | |
Colin Cross | e57011d | 2017-09-25 13:40:55 -0700 | [diff] [blame] | 21 | LOCAL_SRC_FILES := \ |
| 22 | $(call all-java-files-under, src) \ |
| 23 | $(call all-renderscript-files-under, src) \ |
| 24 | $(call all-java-files-under, src_pd) |
Stephen Hines | 52fa646 | 2013-02-07 18:41:27 -0800 | [diff] [blame] | 25 | |
Colin Cross | e57011d | 2017-09-25 13:40:55 -0700 | [diff] [blame] | 26 | LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res |
Anand Chaudhari | 922a2fa | 2015-09-23 18:01:06 +0530 | [diff] [blame] | 27 | |
Colin Cross | e57011d | 2017-09-25 13:40:55 -0700 | [diff] [blame] | 28 | LOCAL_USE_AAPT2 := true |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 29 | |
Arne Coucheron | e2b592d | 2017-03-12 06:27:39 +0100 | [diff] [blame^] | 30 | LOCAL_PACKAGE_NAME := Gallery2 |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 31 | |
Chao Zhang | d22a160 | 2016-04-19 10:43:08 +0800 | [diff] [blame] | 32 | LOCAL_PRIVILEGED_MODULE := true |
| 33 | |
Colin Cross | e57011d | 2017-09-25 13:40:55 -0700 | [diff] [blame] | 34 | LOCAL_PRIVATE_PLATFORM_APIS := true |
jinwu | ebfe113 | 2018-04-14 16:05:32 +0800 | [diff] [blame] | 35 | |
Arne Coucheron | e2b592d | 2017-03-12 06:27:39 +0100 | [diff] [blame^] | 36 | LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D |
| 37 | |
| 38 | LOCAL_AAPT_FLAGS += --rename-manifest-package com.android.gallery3d |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 39 | |
Colin Cross | e57011d | 2017-09-25 13:40:55 -0700 | [diff] [blame] | 40 | LOCAL_JNI_SHARED_LIBRARIES := \ |
| 41 | libjni_gallery_eglfence \ |
| 42 | libjni_gallery_filters \ |
| 43 | libjni_gallery_jpegstream |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 44 | |
Colin Cross | e57011d | 2017-09-25 13:40:55 -0700 | [diff] [blame] | 45 | LOCAL_SHARED_LIBRARIES += \ |
| 46 | libjni_dualcamera \ |
| 47 | libjni_trueportrait \ |
| 48 | libjni_filtergenerator |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 49 | |
Jay Wang | 9c76a77 | 2016-01-27 16:47:50 -0800 | [diff] [blame] | 50 | LOCAL_REQUIRED_MODULES := libts_detected_face_jni libts_face_beautify_jni |
Zhang Zhenzhen | 38478f2 | 2015-03-10 16:40:13 +0800 | [diff] [blame] | 51 | |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 52 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 53 | |
Narayan Kamath | dd0ab3f | 2015-02-13 10:23:11 +0000 | [diff] [blame] | 54 | LOCAL_JAVA_LIBRARIES += org.apache.http.legacy |
Andreas Gampe | c9f714b | 2014-04-18 15:50:07 -0700 | [diff] [blame] | 55 | |
Jiyong Park | 935fb6e | 2018-04-05 16:12:39 +0900 | [diff] [blame] | 56 | LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt |
| 57 | |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 58 | include $(BUILD_PACKAGE) |
| 59 | |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 60 | ifeq ($(strip $(LOCAL_PACKAGE_OVERRIDES)),) |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 61 | |
Doris Liu | b7f4482 | 2013-06-20 18:32:26 -0700 | [diff] [blame] | 62 | # Use the following include to make gallery test apk |
Michael Kolb | 25668cd | 2013-01-29 10:33:22 -0800 | [diff] [blame] | 63 | include $(call all-makefiles-under, $(LOCAL_PATH)) |
Ruei-sung Lin | e5c8ed7 | 2012-05-31 11:59:31 -0700 | [diff] [blame] | 64 | |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 65 | endif |