blob: 5540f7bd92a60212ebc6731d8e8736b889ca817f [file] [log] [blame]
Pawin Vongmasa36653902018-11-15 00:10:25 -08001cc_test {
Pawin Vongmasad0f0e142018-11-15 03:36:28 -08002 name: "codec2_core_param_test",
Pawin Vongmasa36653902018-11-15 00:10:25 -08003
4 srcs: [
5 "C2Param_test.cpp",
6 ],
7
8 include_dirs: [
Pawin Vongmasad0f0e142018-11-15 03:36:28 -08009 "frameworks/av/media/codec2/include",
10 "frameworks/av/media/codec2/vndk/include",
Pawin Vongmasa36653902018-11-15 00:10:25 -080011 ],
12
13 // param tests must not depend on any codec2 libraries as all params should be templated
14 shared_libs: [
15 ],
16
17 static_libs: [
18 ],
19
20 cflags: [
21 "-Werror",
22 "-Wall",
23 ],
24}
25
26cc_test {
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080027 name: "codec2_vndk_test",
Pawin Vongmasa36653902018-11-15 00:10:25 -080028
29 srcs: [
30 "C2_test.cpp",
31 "C2SampleComponent_test.cpp",
32 "C2UtilTest.cpp",
33 "vndk/C2BufferTest.cpp",
34 ],
35
36 include_dirs: [
37 ],
38
39 shared_libs: [
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080040 "libcodec2",
41 "libcodec2_vndk",
Pawin Vongmasa36653902018-11-15 00:10:25 -080042 "libcutils",
43 "liblog",
Pawin Vongmasa36653902018-11-15 00:10:25 -080044 "libutils",
45 ],
46
47 cflags: [
48 "-Werror",
49 "-Wall",
50 ],
51}
52
53cc_test {
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080054 name: "codec2_vndk_interface_test",
Pawin Vongmasa36653902018-11-15 00:10:25 -080055
56 srcs: [
57 "C2ComponentInterface_test.cpp",
58 ],
59
60 include_dirs: [
61 "frameworks/native/include/media/openmax",
62 ],
63
64 shared_libs: [
65 "libcutils",
66 "liblog",
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080067 "libcodec2",
68 "libcodec2_vndk",
Pawin Vongmasa36653902018-11-15 00:10:25 -080069 "libutils",
70 ],
71
72 cflags: [
73 "-Werror",
74 "-Wall",
75 ],
76}