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:
Colin Cross
2016-12-14 13:06:07 -08:00
parent e78f853e46
commit 3ac2be93a9
2 changed files with 19 additions and 19 deletions

19
libs/storage/Android.bp Normal file
View 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"],
}

View File

@@ -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)