Convert libmedialogservice to Android.bp

See build/soong/README.md for more information about Soong.

Removes AUDIOSERVER_MULTILIB which doesn't effectively do much for this
code -- we'll only build and install the versions necessary to support
the libraries/binaries depending on this library.

Test: mmma frameworks/av/services/medialog
Change-Id: Id47b1de95d3c62f0d2dbef69b26fefd6128e7f7e
gugelfrei
Dan Willemsen 7 years ago
parent 32d82714da
commit efbff675a7

@ -2,5 +2,6 @@ subdirs = [
"camera",
"drm/*",
"media/*",
"services/*",
"soundtrigger",
]

@ -0,0 +1,22 @@
cc_library_shared {
name: "libmedialogservice",
srcs: [
"IMediaLogService.cpp",
"MediaLogService.cpp",
],
shared_libs: [
"libaudioutils",
"libbinder",
"liblog",
"libnbaio",
"libnblog",
"libutils",
],
cflags: [
"-Werror",
"-Wall",
],
}

@ -1,17 +0,0 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := MediaLogService.cpp IMediaLogService.cpp
LOCAL_SHARED_LIBRARIES := libbinder libutils liblog libnbaio libnblog libaudioutils
LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
LOCAL_MODULE:= libmedialogservice
LOCAL_C_INCLUDES := $(call include-path-for, audio-utils)
LOCAL_CFLAGS := -Werror -Wall
include $(BUILD_SHARED_LIBRARY)
Loading…
Cancel
Save