xref: /aosp_15_r20/frameworks/av/media/psh_utils/benchmarks/Android.bp (revision ec779b8e0859a360c3d303172224686826e6e0e1)
1package {
2    default_team: "trendy_team_android_media_audio_framework",
3    // See: http://go/android-license-faq
4    // A large-scale-change added 'default_applicable_licenses' to import
5    // all of the 'license_kinds' from "frameworks_av_license"
6    // to get the below license kinds:
7    //   SPDX-license-identifier-Apache-2.0
8    default_applicable_licenses: ["frameworks_av_license"],
9}
10
11cc_defaults {
12    name: "audio_psh_utils_benchmark_defaults",
13
14    cflags: [
15        "-Wall",
16        "-Werror",
17    ],
18    static_libs: [
19        "libpshutils",
20    ],
21    shared_libs: [
22        "libaudioutils",
23        "libbase",
24        "libbinder",
25        "libbinder_ndk",
26        "libcutils",
27        "liblog",
28        "libmediautils",
29        "libutils",
30    ],
31}
32
33cc_benchmark {
34    name: "audio_powerstats_benchmark",
35
36    defaults: ["audio_psh_utils_benchmark_defaults"],
37
38    srcs: ["audio_powerstats_benchmark.cpp"],
39}
40
41cc_benchmark {
42    name: "audio_powerstatscollector_benchmark",
43
44    defaults: ["audio_psh_utils_benchmark_defaults"],
45
46    srcs: ["audio_powerstatscollector_benchmark.cpp"],
47}
48
49cc_benchmark {
50    name: "audio_token_benchmark",
51
52    defaults: ["audio_psh_utils_benchmark_defaults"],
53
54    srcs: ["audio_token_benchmark.cpp"],
55}
56