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.
67 lines
1.5 KiB
67 lines
1.5 KiB
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "hardware_google_av_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["hardware_google_av_license"],
|
|
}
|
|
|
|
cc_defaults{
|
|
name : "libmedia_ecoservice_tests_defaults",
|
|
cflags : [
|
|
"-Wall",
|
|
"-Werror",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "EcoDataTest",
|
|
defaults: ["libmedia_ecoservice_tests_defaults"],
|
|
srcs: ["EcoDataTest.cpp"],
|
|
shared_libs: [
|
|
"libbinder",
|
|
"libcutils",
|
|
"libutils",
|
|
"liblog",
|
|
"libmedia_ecoservice",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "EcoSessionTest",
|
|
defaults: ["libmedia_ecoservice_tests_defaults"],
|
|
srcs: [
|
|
"EcoSessionTest.cpp",
|
|
"FakeECOServiceStatsProvider.cpp",
|
|
"FakeECOServiceInfoListener.cpp",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libbinder",
|
|
"libcutils",
|
|
"libutils",
|
|
"liblog",
|
|
"libmedia_ecoservice",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "EcoServiceTest",
|
|
vendor: true,
|
|
defaults: ["libmedia_ecoservice_tests_defaults"],
|
|
srcs: [
|
|
"EcoServiceTest.cpp",
|
|
"FakeECOServiceStatsProvider.cpp",
|
|
"FakeECOServiceInfoListener.cpp",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libbinder",
|
|
"libcutils",
|
|
"libutils",
|
|
"liblog",
|
|
"libmedia_ecoservice",
|
|
],
|
|
}
|