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