OSDN Git Service

Convert Android.mk to Android.bp pie-x86 q-x86 android-x86-9.0-r1 android-x86-9.0-r2
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 21 Mar 2019 07:40:56 +0000 (15:40 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 21 Mar 2019 07:40:56 +0000 (15:40 +0800)
Android.bp [new file with mode: 0644]
Android.mk [deleted file]

diff --git a/Android.bp b/Android.bp
new file mode 100644 (file)
index 0000000..aac19ec
--- /dev/null
@@ -0,0 +1,5 @@
+java_import {
+    name: "googleanalytics",
+    jars: ["lib/libGoogleAnalyticsServices.jar"],
+    installable: false,
+}
diff --git a/Android.mk b/Android.mk
deleted file mode 100644 (file)
index bef486a..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-LOCAL_PATH := $(call my-dir)
-
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := googleanalytics
-LOCAL_SRC_FILES := lib/libGoogleAnalyticsServices.jar
-LOCAL_MODULE_CLASS := JAVA_LIBRARIES
-LOCAL_UNINSTALLABLE_MODULE := true
-
-include $(BUILD_PREBUILT)