There are 4 components that all implement package parsing, they are: 1. sdcardd 2. libselinux 3. logd 4. runas Create a library that can be used by all of them, and new ones as needed. (Moved from frameworks/base) Change-Id: I282ec1204e592502ef3b28fedf577af824338c58
32 lines
737 B
Makefile
32 lines
737 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
#########################
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := libpackagelistparser
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_SRC_FILES := packagelistparser.c
|
|
LOCAL_COPY_HEADERS_TO := packagelistparser
|
|
LOCAL_COPY_HEADERS := packagelistparser.h
|
|
LOCAL_SHARED_LIBRARIES := liblog
|
|
|
|
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_COPY_HEADERS_TO := packagelistparser
|
|
LOCAL_COPY_HEADERS := packagelistparser.h
|
|
LOCAL_STATIC_LIBRARIES := liblog
|
|
|
|
LOCAL_CLANG := true
|
|
LOCAL_SANITIZE := integer
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|