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