Merge "Convert libpackagelistparser to Android.bp"
This commit is contained in:
commit
fdc396e277
2 changed files with 13 additions and 32 deletions
13
libpackagelistparser/Android.bp
Normal file
13
libpackagelistparser/Android.bp
Normal file
|
|
@ -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"],
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -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)
|
|
||||||
Loading…
Add table
Reference in a new issue