-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAndroid.mk
67 lines (54 loc) · 1.9 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
LOCAL_PATH:= $(call my-dir)
# MAP API module
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under, lib/mapapi)
LOCAL_MODULE := bluetooth_qti.mapsapi
include $(BUILD_STATIC_JAVA_LIBRARY)
# Bluetooth APK
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := \
$(call all-java-files-under, src) \
$(call all-java-files-under, ../../../bluetooth_ext/packages_apps_bluetooth_ext/src)
LOCAL_PACKAGE_NAME := BluetoothQti
LOCAL_OVERRIDES_PACKAGES := Bluetooth
LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_CERTIFICATE := platform
LOCAL_USE_AAPT2 := true
LOCAL_JNI_SHARED_LIBRARIES := libbluetooth_qti_jni
LOCAL_JAVA_LIBRARIES := javax.obex telephony-common services.net
LOCAL_STATIC_JAVA_LIBRARIES := \
com.android.vcard \
bluetooth_qti.mapsapi \
sap-api-java-static \
services.net \
libprotobuf-java-lite \
bluetooth-protos-lite \
LOCAL_STATIC_ANDROID_LIBRARIES := \
androidx.core_core \
androidx.legacy_legacy-support-v4 \
androidx.lifecycle_lifecycle-livedata \
androidx.room_room-runtime \
LOCAL_ANNOTATION_PROCESSORS := \
bt-androidx-annotation-nodeps \
bt-androidx-room-common-nodeps \
bt-androidx-room-compiler-nodeps \
bt-androidx-room-migration-nodeps \
bt-antlr4-nodeps \
bt-apache-commons-codec-nodeps \
bt-auto-common-nodeps \
bt-javapoet-nodeps \
bt-kotlin-metadata-nodeps \
bt-sqlite-jdbc-nodeps \
bt-jetbrain-nodeps \
guava-21.0 \
kotlin-stdlib
LOCAL_ANNOTATION_PROCESSOR_CLASSES := \
androidx.room.RoomProcessor
LOCAL_STATIC_JAVA_LIBRARIES += com.android.emailcommon
LOCAL_PROTOC_OPTIMIZE_TYPE := micro
LOCAL_REQUIRED_MODULES := libbluetooth_qti
LOCAL_PROGUARD_ENABLED := disabled
include $(BUILD_PACKAGE)
include $(call all-makefiles-under,$(LOCAL_PATH))