xref: /aosp_15_r20/frameworks/av/services/audioflinger/timing/tests/Android.bp (revision ec779b8e0859a360c3d303172224686826e6e0e1)
1package {
2    default_team: "trendy_team_media_framework_audio",
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_base_license"
6    // to get the below license kinds:
7    //   SPDX-license-identifier-Apache-2.0
8    default_applicable_licenses: ["frameworks_av_services_audioflinger_license"],
9}
10
11cc_test {
12    name: "mediasyncevent_tests",
13
14    host_supported: true,
15
16    srcs: [
17        "mediasyncevent_tests.cpp",
18    ],
19
20    header_libs: [
21        "libaudioclient_headers",
22    ],
23
24    static_libs: [
25        "liblog",
26        "libutils", // RefBase
27    ],
28
29    cflags: [
30        "-Wall",
31        "-Werror",
32        "-Wextra",
33    ],
34}
35
36cc_test {
37    name: "monotonicframecounter_tests",
38
39    host_supported: true,
40
41    srcs: [
42        "monotonicframecounter_tests.cpp",
43    ],
44
45    static_libs: [
46        "libaudioflinger_timing",
47        "liblog",
48    ],
49
50    cflags: [
51        "-Wall",
52        "-Werror",
53        "-Wextra",
54    ],
55}
56
57cc_test {
58    name: "synchronizedrecordstate_tests",
59
60    host_supported: true,
61
62    srcs: [
63        "synchronizedrecordstate_tests.cpp",
64    ],
65
66    header_libs: [
67        "libaudioclient_headers",
68    ],
69
70    static_libs: [
71        "liblog",
72        "libutils", // RefBase
73    ],
74
75    cflags: [
76        "-Wall",
77        "-Werror",
78        "-Wextra",
79    ],
80}
81