1LOCAL_PATH:= $(call my-dir) 2 3# MAP API module 4 5include $(CLEAR_VARS) 6LOCAL_MODULE_TAGS := optional 7LOCAL_SRC_FILES := $(call all-java-files-under, lib/mapapi) 8LOCAL_MODULE := bluetooth.mapsapi 9include $(BUILD_STATIC_JAVA_LIBRARY) 10 11# Bluetooth APK 12 13include $(CLEAR_VARS) 14LOCAL_MODULE_TAGS := optional 15LOCAL_SRC_FILES := $(call all-java-files-under, src) 16LOCAL_PACKAGE_NAME := Bluetooth 17LOCAL_PRIVATE_PLATFORM_APIS := true 18LOCAL_CERTIFICATE := platform 19LOCAL_USE_AAPT2 := true 20LOCAL_JNI_SHARED_LIBRARIES := libbluetooth_jni 21LOCAL_JAVA_LIBRARIES := javax.obex telephony-common services.net 22LOCAL_STATIC_JAVA_LIBRARIES := \ 23 com.android.vcard \ 24 bluetooth.mapsapi \ 25 sap-api-java-static \ 26 services.net \ 27 libprotobuf-java-lite \ 28 bluetooth-protos-lite \ 29 30LOCAL_STATIC_ANDROID_LIBRARIES := \ 31 androidx.core_core \ 32 androidx.lifecycle_lifecycle-livedata \ 33 androidx.room_room-runtime \ 34 35LOCAL_ANNOTATION_PROCESSORS := \ 36 bt-androidx-annotation-nodeps \ 37 bt-androidx-room-common-nodeps \ 38 bt-androidx-room-compiler-nodeps \ 39 bt-androidx-room-migration-nodeps \ 40 bt-antlr4-nodeps \ 41 bt-apache-commons-codec-nodeps \ 42 bt-auto-common-nodeps \ 43 bt-javapoet-nodeps \ 44 bt-kotlin-metadata-nodeps \ 45 bt-sqlite-jdbc-nodeps \ 46 bt-jetbrain-nodeps \ 47 guava-21.0 \ 48 kotlin-stdlib 49 50LOCAL_ANNOTATION_PROCESSOR_CLASSES := \ 51 androidx.room.RoomProcessor 52 53LOCAL_REQUIRED_MODULES := libbluetooth 54LOCAL_PROGUARD_ENABLED := disabled 55include $(BUILD_PACKAGE) 56 57include $(call all-makefiles-under,$(LOCAL_PATH)) 58 59include $(CLEAR_VARS) 60 61COMMON_LIBS_PATH := ../../../../../prebuilts/tools/common/m2/repository 62ROOM_LIBS_PATH := ../../lib/room 63 64LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \ 65 bt-androidx-annotation-nodeps:$(ROOM_LIBS_PATH)/annotation-1.0.0-beta01.jar \ 66 bt-androidx-room-common-nodeps:$(ROOM_LIBS_PATH)/room-common-2.0.0-beta01.jar \ 67 bt-androidx-room-compiler-nodeps:$(ROOM_LIBS_PATH)/room-compiler-2.0.0-beta01.jar \ 68 bt-androidx-room-migration-nodeps:$(ROOM_LIBS_PATH)/room-migration-2.0.0-beta01.jar \ 69 bt-antlr4-nodeps:$(COMMON_LIBS_PATH)/org/antlr/antlr4/4.5.3/antlr4-4.5.3.jar \ 70 bt-apache-commons-codec-nodeps:$(COMMON_LIBS_PATH)/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/org.apache.commons.codec_1.4.0.v201209201156.jar \ 71 bt-auto-common-nodeps:$(COMMON_LIBS_PATH)/com/google/auto/auto-common/0.9/auto-common-0.9.jar \ 72 bt-javapoet-nodeps:$(COMMON_LIBS_PATH)/com/squareup/javapoet/1.8.0/javapoet-1.8.0.jar \ 73 bt-kotlin-metadata-nodeps:$(COMMON_LIBS_PATH)/me/eugeniomarletti/kotlin-metadata/1.2.1/kotlin-metadata-1.2.1.jar \ 74 bt-sqlite-jdbc-nodeps:$(COMMON_LIBS_PATH)/org/xerial/sqlite-jdbc/3.20.1/sqlite-jdbc-3.20.1.jar \ 75 bt-jetbrain-nodeps:../../../../../prebuilts/tools/common/m2/repository/org/jetbrains/annotations/13.0/annotations-13.0.jar 76 77include $(BUILD_HOST_PREBUILT) 78