blob: 17a43dfec4d74cca8e4b562d7c8c5daf60e40e4f [file] [log] [blame]
hkuang26587cb2020-01-16 10:36:08 -08001// Build the unit tests for libmediatranscoding.
Bob Badour948e6aa2021-02-12 21:02:31 -08002package {
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
hkuang26587cb2020-01-16 10:36:08 -080011cc_defaults {
12 name: "libmediatranscoding_test_defaults",
13
14 header_libs: [
15 "libbase_headers",
16 "libmedia_headers",
17 ],
18
19 shared_libs: [
20 "libbinder_ndk",
21 "libcutils",
22 "liblog",
23 "libutils",
24 "libmediatranscoding"
25 ],
26
27 static_libs: [
28 "mediatranscoding_aidl_interface-ndk_platform",
29 ],
30
31 cflags: [
32 "-Werror",
33 "-Wall",
34 ],
35
36 test_suites: ["device-tests"],
37}
38
39//
40// TranscodingClientManager unit test
41//
42cc_test {
43 name: "TranscodingClientManager_tests",
44 defaults: ["libmediatranscoding_test_defaults"],
45
46 srcs: ["TranscodingClientManager_tests.cpp"],
hkuang93fb84c2020-02-03 18:19:39 -080047}
48
49//
50// AdjustableMaxPriorityQueue unit test
51//
52cc_test {
53 name: "AdjustableMaxPriorityQueue_tests",
54 defaults: ["libmediatranscoding_test_defaults"],
55
56 srcs: ["AdjustableMaxPriorityQueue_tests.cpp"],
Bob Badour948e6aa2021-02-12 21:02:31 -080057}