blob: b858fa56b69325d8ac3994a82a45ace183259a96 [file] [log] [blame]
Bob Badour56786ac2021-02-25 15:24:36 -08001package {
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_av_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_av_license"],
8}
9
Pawin Vongmasa36653902018-11-15 00:10:25 -080010cc_test {
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080011 name: "codec2_core_param_test",
Ray Essickf867ca72020-04-29 19:41:08 -070012 test_suites: ["device-tests"],
Pawin Vongmasa36653902018-11-15 00:10:25 -080013
14 srcs: [
15 "C2Param_test.cpp",
16 ],
17
18 include_dirs: [
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080019 "frameworks/av/media/codec2/vndk/include",
Pawin Vongmasa36653902018-11-15 00:10:25 -080020 ],
21
Pawin Vongmasacc1b4762018-11-26 00:46:29 -080022 header_libs: [
23 "libcodec2_headers",
24 ],
25
Pawin Vongmasa36653902018-11-15 00:10:25 -080026 // param tests must not depend on any codec2 libraries as all params should be templated
27 shared_libs: [
28 ],
29
30 static_libs: [
31 ],
32
33 cflags: [
34 "-Werror",
35 "-Wall",
36 ],
37}
38
39cc_test {
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080040 name: "codec2_vndk_test",
Ray Essickf867ca72020-04-29 19:41:08 -070041 test_suites: ["device-tests"],
Pawin Vongmasa36653902018-11-15 00:10:25 -080042
43 srcs: [
44 "C2_test.cpp",
45 "C2SampleComponent_test.cpp",
46 "C2UtilTest.cpp",
47 "vndk/C2BufferTest.cpp",
48 ],
49
50 include_dirs: [
51 ],
52
53 shared_libs: [
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080054 "libcodec2",
55 "libcodec2_vndk",
Pawin Vongmasa36653902018-11-15 00:10:25 -080056 "libcutils",
57 "liblog",
Pawin Vongmasa36653902018-11-15 00:10:25 -080058 "libutils",
59 ],
60
61 cflags: [
62 "-Werror",
63 "-Wall",
64 ],
65}
66
67cc_test {
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080068 name: "codec2_vndk_interface_test",
Pawin Vongmasa36653902018-11-15 00:10:25 -080069
70 srcs: [
71 "C2ComponentInterface_test.cpp",
72 ],
73
Pawin Vongmasacc1b4762018-11-26 00:46:29 -080074 header_libs: [
75 "media_plugin_headers",
Pawin Vongmasa36653902018-11-15 00:10:25 -080076 ],
77
78 shared_libs: [
79 "libcutils",
80 "liblog",
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080081 "libcodec2",
82 "libcodec2_vndk",
Pawin Vongmasa36653902018-11-15 00:10:25 -080083 "libutils",
84 ],
85
86 cflags: [
87 "-Werror",
88 "-Wall",
89 ],
90}