1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "frameworks_native_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_native_license"],
8}
9
10cc_library_shared {
11    name: "libstatshidl",
12    srcs: [
13        "StatsAidl.cpp",
14        "StatsHal.cpp",
15    ],
16    cflags: [
17        "-Wall",
18        "-Werror",
19    ],
20    shared_libs: [
21        "android.frameworks.stats@1.0",
22        "android.frameworks.stats-V2-ndk",
23        "libbinder_ndk",
24        "libexpresslog",
25        "libhidlbase",
26        "liblog",
27        "libstatslog",
28        "libstatssocket",
29        "libutils",
30    ],
31    export_include_dirs: [
32        "include/",
33    ],
34    export_shared_lib_headers: [
35        "android.frameworks.stats@1.0",
36        "android.frameworks.stats-V2-ndk",
37    ],
38    local_include_dirs: [
39        "include/stats",
40    ],
41    vintf_fragments: [
42        "android.frameworks.stats-service.xml",
43    ],
44}
45