aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2017-04-28 18:06:20 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-04-28 18:06:20 +0000
commitb5f76c9dcbbed6cb8f5c39711a9bb0fa40219bf3 (patch)
tree71c5f6de334223a7950b2922539ec932d9f86bb7
parent0227d834966b304525869d88fd20b2ac835df878 (diff)
parent1163465de6c4b6c1816de74db60b28769cf5ac96 (diff)
downloadsonic-b5f76c9dcbbed6cb8f5c39711a9bb0fa40219bf3.tar.gz
Android.mk -> Android.bp
am: 1163465de6 Change-Id: If54a8478b6643897d092c286cf19e4573285658b
-rw-r--r--Android.bp12
-rw-r--r--Android.mk13
2 files changed, 12 insertions, 13 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..542e254
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,12 @@
+cc_library_shared {
+ name: "libsonic",
+
+ srcs: ["sonic.c"],
+
+ cflags: [
+ "-Wno-sequence-point",
+ "-Wno-extra",
+ ],
+
+ cppflags: ["-std=c++98"],
+}
diff --git a/Android.mk b/Android.mk
deleted file mode 100644
index 8fb625b..0000000
--- a/Android.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-LOCAL_PATH:= $(call my-dir)
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES := sonic.c
-
-LOCAL_CFLAGS += -Wno-sequence-point -Wno-extra
-
-LOCAL_CPPFLAGS += -std=c++98
-
-LOCAL_MODULE:= libsonic
-
-include $(BUILD_SHARED_LIBRARY)
-