blob: 30f69e0cf0a3825686c654b9f2f9813d0a3fd995 [file] [log] [blame]
Steve Kondikd91ddb52015-11-14 23:56:10 +01001LOCAL_PATH := $(call my-dir)
2
3# a wrapper for curl which provides wget syntax, for compatibility
4include $(CLEAR_VARS)
5LOCAL_MODULE := wget
6LOCAL_SRC_FILES := bin/wget
7LOCAL_MODULE_TAGS := optional
8LOCAL_MODULE_CLASS := EXECUTABLES
9LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
10include $(BUILD_PREBUILT)
Rashed Abdel-Tawab0d2fa552018-09-06 08:48:26 -070011
12################################
Bruno Martinsda2c7502019-09-13 16:11:04 +010013# Copies the APN list file into $(TARGET_COPY_OUT_PRODUCT)/etc for the product as apns-conf.xml.
Rashed Abdel-Tawab0d2fa552018-09-06 08:48:26 -070014# In the case where $(CUSTOM_APNS_FILE) is defined, the content of $(CUSTOM_APNS_FILE)
15# is added or replaced to the $(DEFAULT_APNS_FILE).
16include $(CLEAR_VARS)
17
18LOCAL_MODULE := apns-conf.xml
19LOCAL_MODULE_CLASS := ETC
20
Jackeagled6811aa2019-09-24 08:26:40 +020021DEFAULT_APNS_FILE := vendor/bliss/prebuilt/common/etc/apns-conf.xml
Rashed Abdel-Tawab0d2fa552018-09-06 08:48:26 -070022
23ifdef CUSTOM_APNS_FILE
Jackeagled6811aa2019-09-24 08:26:40 +020024CUSTOM_APNS_SCRIPT := vendor/bliss/tools/custom_apns.py
Rashed Abdel-Tawab0d2fa552018-09-06 08:48:26 -070025FINAL_APNS_FILE := $(local-generated-sources-dir)/apns-conf.xml
26
27$(FINAL_APNS_FILE): PRIVATE_SCRIPT := $(CUSTOM_APNS_SCRIPT)
28$(FINAL_APNS_FILE): PRIVATE_CUSTOM_APNS_FILE := $(CUSTOM_APNS_FILE)
29$(FINAL_APNS_FILE): $(CUSTOM_APNS_SCRIPT) $(DEFAULT_APNS_FILE)
30 rm -f $@
31 python $(PRIVATE_SCRIPT) $@ $(PRIVATE_CUSTOM_APNS_FILE)
32else
33FINAL_APNS_FILE := $(DEFAULT_APNS_FILE)
34endif
35
36LOCAL_PREBUILT_MODULE_FILE := $(FINAL_APNS_FILE)
37
Bruno Martinsda2c7502019-09-13 16:11:04 +010038LOCAL_PRODUCT_MODULE := true
39
Rashed Abdel-Tawab0d2fa552018-09-06 08:48:26 -070040include $(BUILD_PREBUILT)
LuK13372057f502020-05-13 00:01:38 +020041
42include $(CLEAR_VARS)
43LOCAL_MODULE := fonts_customization.xml
44LOCAL_SRC_FILES := etc/fonts_customization.xml
45LOCAL_MODULE_TAGS := optional
46LOCAL_MODULE_CLASS := ETC
47LOCAL_PRODUCT_MODULE := true
48include $(BUILD_PREBUILT)
rohanfec569f2020-10-07 12:16:32 -040049
50
51include $(CLEAR_VARS)
52LOCAL_MODULE := Phonograph
53LOCAL_MODULE_TAGS := optional
54LOCAL_SRC_FILES := app/$(LOCAL_MODULE).apk
55LOCAL_CERTIFICATE := PRESIGNED
56LOCAL_MODULE_CLASS := APPS
57LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
58LOCAL_DEX_PREOPT := false
59include $(BUILD_PREBUILT)
60
61include $(CLEAR_VARS)
62LOCAL_MODULE := SimpleGalleryPro
63LOCAL_MODULE_TAGS := optional
64LOCAL_SRC_FILES := app/$(LOCAL_MODULE).apk
65LOCAL_CERTIFICATE := PRESIGNED
66LOCAL_MODULE_CLASS := APPS
67LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
68LOCAL_DEX_PREOPT := false
69include $(BUILD_PREBUILT)