Convert libsoundpool to Android.bp
See build/soong/README.md for more information.
Test: m -j checkbuild
Change-Id: If0b7cb1e2c86ff1be41c00d98fd9ddec31287a53
Merged-In: If0b7cb1e2c86ff1be41c00d98fd9ddec31287a53
(cherry picked from commit 98c127f8cc)
This commit is contained in:
@@ -74,4 +74,5 @@ cc_library_shared {
|
||||
|
||||
subdirs = [
|
||||
"audioeffect",
|
||||
"soundpool",
|
||||
]
|
||||
|
||||
28
media/jni/soundpool/Android.bp
Normal file
28
media/jni/soundpool/Android.bp
Normal file
@@ -0,0 +1,28 @@
|
||||
cc_library_shared {
|
||||
name: "libsoundpool",
|
||||
|
||||
srcs: [
|
||||
"android_media_SoundPool.cpp",
|
||||
"SoundPool.cpp",
|
||||
"SoundPoolThread.cpp",
|
||||
],
|
||||
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libutils",
|
||||
"libandroid_runtime",
|
||||
"libnativehelper",
|
||||
"libaudioclient",
|
||||
"libmediandk",
|
||||
"libbinder",
|
||||
],
|
||||
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
"-Wno-error=deprecated-declarations",
|
||||
"-Wunused",
|
||||
"-Wunreachable-code",
|
||||
],
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES:= \
|
||||
android_media_SoundPool.cpp \
|
||||
SoundPool.cpp \
|
||||
SoundPoolThread.cpp
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
liblog \
|
||||
libcutils \
|
||||
libutils \
|
||||
libandroid_runtime \
|
||||
libnativehelper \
|
||||
libaudioclient \
|
||||
libmediandk \
|
||||
libbinder
|
||||
|
||||
LOCAL_MODULE:= libsoundpool
|
||||
|
||||
LOCAL_CFLAGS += -Wall -Werror -Wno-error=deprecated-declarations -Wunused -Wunreachable-code
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
Reference in New Issue
Block a user