Convert libstorage to Android.bp
See build/soong/README.md for more information. Test: m -j native Change-Id: Ieb34d79af10e4e7cd146d0d40fd6946499dd1da0
This commit is contained in:
19
libs/storage/Android.bp
Normal file
19
libs/storage/Android.bp
Normal file
@@ -0,0 +1,19 @@
|
||||
cc_library_static {
|
||||
name: "libstorage",
|
||||
|
||||
srcs: [
|
||||
"IMountServiceListener.cpp",
|
||||
"IMountShutdownObserver.cpp",
|
||||
"IObbActionListener.cpp",
|
||||
"IMountService.cpp",
|
||||
],
|
||||
|
||||
export_include_dirs: ["include"],
|
||||
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
],
|
||||
|
||||
shared_libs: ["libbinder"],
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES:= \
|
||||
IMountServiceListener.cpp \
|
||||
IMountShutdownObserver.cpp \
|
||||
IObbActionListener.cpp \
|
||||
IMountService.cpp
|
||||
|
||||
LOCAL_MODULE:= libstorage
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
|
||||
LOCAL_CFLAGS += -Wall -Werror
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libbinder
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
Reference in New Issue
Block a user