summaryrefslogtreecommitdiffstats
path: root/libpackagelistparser
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-07-19 22:17:49 -0700
committerDan Willemsen <dwillemsen@google.com>2016-07-19 22:19:37 -0700
commit74641844ed38adcd7653da52d651f14ad119f644 (patch)
tree5badeed760f224ebc34a9b4152fc5924b8a56ae7 /libpackagelistparser
parentc15ab6e2c66697abadd9478b5e5e19c7c11f83ec (diff)
downloadsystem_core-74641844ed38adcd7653da52d651f14ad119f644.tar.gz
system_core-74641844ed38adcd7653da52d651f14ad119f644.tar.bz2
system_core-74641844ed38adcd7653da52d651f14ad119f644.zip
Convert libpackagelistparser to Android.bp
Change-Id: If114efbbca5e5c31590e0f889cf773f94944dfb2
Diffstat (limited to 'libpackagelistparser')
-rw-r--r--libpackagelistparser/Android.bp13
-rw-r--r--libpackagelistparser/Android.mk32
2 files changed, 13 insertions, 32 deletions
diff --git a/libpackagelistparser/Android.bp b/libpackagelistparser/Android.bp
new file mode 100644
index 000000000..70ff52897
--- /dev/null
+++ b/libpackagelistparser/Android.bp
@@ -0,0 +1,13 @@
+cc_library {
+
+ name: "libpackagelistparser",
+ srcs: ["packagelistparser.c"],
+ shared_libs: ["liblog"],
+ local_include_dirs: ["include"],
+ export_include_dirs: ["include"],
+
+ clang: true,
+ sanitize: {
+ misc_undefined: ["integer"],
+ },
+}
diff --git a/libpackagelistparser/Android.mk b/libpackagelistparser/Android.mk
deleted file mode 100644
index c8be050e0..000000000
--- a/libpackagelistparser/Android.mk
+++ /dev/null
@@ -1,32 +0,0 @@
-LOCAL_PATH:= $(call my-dir)
-
-#########################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := libpackagelistparser
-LOCAL_MODULE_TAGS := optional
-LOCAL_SRC_FILES := packagelistparser.c
-LOCAL_SHARED_LIBRARIES := liblog
-LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
-LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
-
-LOCAL_CLANG := true
-LOCAL_SANITIZE := integer
-
-include $(BUILD_SHARED_LIBRARY)
-
-#########################
-include $(CLEAR_VARS)
-
-
-LOCAL_MODULE := libpackagelistparser
-LOCAL_MODULE_TAGS := optional
-LOCAL_SRC_FILES := packagelistparser.c
-LOCAL_STATIC_LIBRARIES := liblog
-LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
-LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
-
-LOCAL_CLANG := true
-LOCAL_SANITIZE := integer
-
-include $(BUILD_STATIC_LIBRARY)