You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
1.8 KiB
77 lines
1.8 KiB
4 months ago
|
// Build the unit tests.
|
||
|
package {
|
||
|
// See: http://go/android-license-faq
|
||
|
// A large-scale-change added 'default_applicable_licenses' to import
|
||
|
// all of the 'license_kinds' from "frameworks_av_license"
|
||
|
// to get the below license kinds:
|
||
|
// SPDX-license-identifier-Apache-2.0
|
||
|
default_applicable_licenses: ["frameworks_av_license"],
|
||
|
}
|
||
|
|
||
|
cc_test {
|
||
|
name: "ResourceManagerService_test",
|
||
|
srcs: ["ResourceManagerService_test.cpp"],
|
||
|
test_suites: ["device-tests"],
|
||
|
static_libs: ["libresourcemanagerservice"],
|
||
|
shared_libs: [
|
||
|
"libbinder",
|
||
|
"libbinder_ndk",
|
||
|
"liblog",
|
||
|
"libmedia",
|
||
|
"libutils",
|
||
|
],
|
||
|
include_dirs: [
|
||
|
"frameworks/av/include",
|
||
|
"frameworks/av/services/mediaresourcemanager",
|
||
|
],
|
||
|
cflags: [
|
||
|
"-Werror",
|
||
|
"-Wall",
|
||
|
],
|
||
|
}
|
||
|
|
||
|
cc_test {
|
||
|
name: "ServiceLog_test",
|
||
|
srcs: ["ServiceLog_test.cpp"],
|
||
|
test_suites: ["device-tests"],
|
||
|
static_libs: ["libresourcemanagerservice"],
|
||
|
shared_libs: [
|
||
|
"liblog",
|
||
|
"libmedia",
|
||
|
"libutils",
|
||
|
],
|
||
|
include_dirs: [
|
||
|
"frameworks/av/include",
|
||
|
"frameworks/av/services/mediaresourcemanager",
|
||
|
],
|
||
|
cflags: [
|
||
|
"-Werror",
|
||
|
"-Wall",
|
||
|
],
|
||
|
}
|
||
|
|
||
|
cc_test {
|
||
|
name: "ResourceObserverService_test",
|
||
|
srcs: ["ResourceObserverService_test.cpp"],
|
||
|
test_suites: ["device-tests"],
|
||
|
static_libs: [
|
||
|
"libresourcemanagerservice",
|
||
|
"resourceobserver_aidl_interface-V1-ndk_platform",
|
||
|
],
|
||
|
shared_libs: [
|
||
|
"libbinder",
|
||
|
"libbinder_ndk",
|
||
|
"liblog",
|
||
|
"libmedia",
|
||
|
"libutils",
|
||
|
],
|
||
|
include_dirs: [
|
||
|
"frameworks/av/include",
|
||
|
"frameworks/av/services/mediaresourcemanager",
|
||
|
],
|
||
|
cflags: [
|
||
|
"-Werror",
|
||
|
"-Wall",
|
||
|
],
|
||
|
}
|