1//
2// Copyright (C) 2024 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16package {
17    default_team: "trendy_team_pixel_system_sw_performance_thermal",
18    default_applicable_licenses: [
19        "Android-Apache-2.0",
20    ],
21}
22
23cc_test {
24    name: "pixelstats_mm_test",
25    team: "trendy_team_pixel_system_sw_performance_thermal",
26    vendor: true,
27    static_libs: [
28        "libpixelstats",
29        "libgmock",
30    ],
31    shared_libs: [
32        "android.frameworks.stats-V2-ndk",
33        "libbase",
34        "libbinder_ndk",
35        "libcutils",
36        "libhidlbase",
37        "liblog",
38        "libprotobuf-cpp-lite",
39        "libutils",
40        "libsensorndkbridge",
41        "pixelatoms-cpp",
42    ],
43    srcs: [
44        "MmMetricsReporterTest.cpp",
45    ],
46    data: [
47        "data/**/*",
48    ],
49    test_suites: [
50        "pts",
51        "device-tests",
52    ],
53    compile_multilib: "first",
54    require_root: true,
55}
56