1cc_defaults{
2    name : "libmedia_ecoservice_tests_defaults",
3    cflags : [
4        "-Wall",
5        "-Werror",
6    ],
7}
8
9cc_test {
10    name: "EcoDataTest",
11    defaults: ["libmedia_ecoservice_tests_defaults"],
12    srcs: ["EcoDataTest.cpp"],
13    shared_libs: [
14        "libbinder",
15        "libcutils",
16        "libutils",
17        "liblog",
18        "libmedia_ecoservice",
19    ],
20}
21
22cc_test {
23    name: "EcoSessionTest",
24    defaults: ["libmedia_ecoservice_tests_defaults"],
25    srcs: [
26        "EcoSessionTest.cpp",
27        "FakeECOServiceStatsProvider.cpp",
28        "FakeECOServiceInfoListener.cpp",
29        ],
30
31    shared_libs: [
32        "libbinder",
33        "libcutils",
34        "libutils",
35        "liblog",
36        "libmedia_ecoservice",
37    ],
38}
39
40cc_test {
41    name: "EcoServiceTest",
42    vendor: true,
43    defaults: ["libmedia_ecoservice_tests_defaults"],
44    srcs: [
45        "EcoServiceTest.cpp",
46        "FakeECOServiceStatsProvider.cpp",
47        "FakeECOServiceInfoListener.cpp",
48        ],
49
50    shared_libs: [
51        "libbinder",
52        "libcutils",
53        "libutils",
54        "liblog",
55        "libmedia_ecoservice",
56    ],
57}