blob: 8ebb6c08a0a9aa93d46528a2f54980d2a8ceb78a [file] [log] [blame]
Bob Badour948e6aa2021-02-12 21:02:31 -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",
Pawin Vongmasa36653902018-11-15 00:10:25 -080012
13 srcs: [
14 "C2Param_test.cpp",
15 ],
16
17 include_dirs: [
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080018 "frameworks/av/media/codec2/vndk/include",
Pawin Vongmasa36653902018-11-15 00:10:25 -080019 ],
20
Pawin Vongmasacc1b4762018-11-26 00:46:29 -080021 header_libs: [
22 "libcodec2_headers",
23 ],
24
Pawin Vongmasa36653902018-11-15 00:10:25 -080025 // param tests must not depend on any codec2 libraries as all params should be templated
26 shared_libs: [
27 ],
28
29 static_libs: [
30 ],
31
32 cflags: [
33 "-Werror",
34 "-Wall",
35 ],
36}
37
38cc_test {
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080039 name: "codec2_vndk_test",
Pawin Vongmasa36653902018-11-15 00:10:25 -080040
41 srcs: [
42 "C2_test.cpp",
43 "C2SampleComponent_test.cpp",
44 "C2UtilTest.cpp",
45 "vndk/C2BufferTest.cpp",
46 ],
47
48 include_dirs: [
49 ],
50
51 shared_libs: [
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080052 "libcodec2",
53 "libcodec2_vndk",
Pawin Vongmasa36653902018-11-15 00:10:25 -080054 "libcutils",
55 "liblog",
Pawin Vongmasa36653902018-11-15 00:10:25 -080056 "libutils",
57 ],
58
59 cflags: [
60 "-Werror",
61 "-Wall",
62 ],
63}
64
65cc_test {
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080066 name: "codec2_vndk_interface_test",
Pawin Vongmasa36653902018-11-15 00:10:25 -080067
68 srcs: [
69 "C2ComponentInterface_test.cpp",
70 ],
71
Pawin Vongmasacc1b4762018-11-26 00:46:29 -080072 header_libs: [
73 "media_plugin_headers",
Pawin Vongmasa36653902018-11-15 00:10:25 -080074 ],
75
76 shared_libs: [
77 "libcutils",
78 "liblog",
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080079 "libcodec2",
80 "libcodec2_vndk",
Pawin Vongmasa36653902018-11-15 00:10:25 -080081 "libutils",
82 ],
83
84 cflags: [
85 "-Werror",
86 "-Wall",
87 ],
88}