See build/soong/README.md for more information. Bug: 122331945 Test: treehugger Change-Id: I9e2402545823bedb3484b3ab962ddc9806f25dacgugelfrei
parent
479b735392
commit
8b07840b07
@ -0,0 +1,41 @@
|
||||
// Build the unit tests.
|
||||
cc_test {
|
||||
name: "ResourceManagerService_test",
|
||||
srcs: ["ResourceManagerService_test.cpp"],
|
||||
shared_libs: [
|
||||
"libbinder",
|
||||
"liblog",
|
||||
"libmedia",
|
||||
"libresourcemanagerservice",
|
||||
"libutils",
|
||||
],
|
||||
include_dirs: [
|
||||
"frameworks/av/include",
|
||||
"frameworks/av/services/mediaresourcemanager",
|
||||
],
|
||||
cflags: [
|
||||
"-Werror",
|
||||
"-Wall",
|
||||
],
|
||||
compile_multilib: "32",
|
||||
}
|
||||
|
||||
cc_test {
|
||||
name: "ServiceLog_test",
|
||||
srcs: ["ServiceLog_test.cpp"],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libmedia",
|
||||
"libresourcemanagerservice",
|
||||
"libutils",
|
||||
],
|
||||
include_dirs: [
|
||||
"frameworks/av/include",
|
||||
"frameworks/av/services/mediaresourcemanager",
|
||||
],
|
||||
cflags: [
|
||||
"-Werror",
|
||||
"-Wall",
|
||||
],
|
||||
compile_multilib: "32",
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
# Build the unit tests.
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := ResourceManagerService_test
|
||||
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
ResourceManagerService_test.cpp \
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libbinder \
|
||||
liblog \
|
||||
libmedia \
|
||||
libresourcemanagerservice \
|
||||
libutils \
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
frameworks/av/include \
|
||||
frameworks/av/services/mediaresourcemanager \
|
||||
|
||||
LOCAL_CFLAGS += -Werror -Wall
|
||||
|
||||
LOCAL_32_BIT_ONLY := true
|
||||
|
||||
include $(BUILD_NATIVE_TEST)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := ServiceLog_test
|
||||
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
ServiceLog_test.cpp \
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
liblog \
|
||||
libmedia \
|
||||
libresourcemanagerservice \
|
||||
libutils \
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
frameworks/av/include \
|
||||
frameworks/av/services/mediaresourcemanager \
|
||||
|
||||
LOCAL_CFLAGS += -Werror -Wall
|
||||
|
||||
LOCAL_32_BIT_ONLY := true
|
||||
|
||||
include $(BUILD_NATIVE_TEST)
|
Loading…
Reference in new issue