Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 1 | cc_test { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 2 | name: "ccodec_unit_test", |
Ray Essick | f867ca7 | 2020-04-29 19:41:08 -0700 | [diff] [blame] | 3 | test_suites: ["device-tests"], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 4 | |
| 5 | srcs: [ |
Wonsik Kim | 41d8343 | 2020-04-27 16:40:49 -0700 | [diff] [blame] | 6 | "CCodecBuffers_test.cpp", |
Wonsik Kim | 8a6ed37 | 2019-12-03 16:05:51 -0800 | [diff] [blame] | 7 | "CCodecConfig_test.cpp", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 8 | "ReflectedParamUpdater_test.cpp", |
| 9 | ], |
| 10 | |
Wonsik Kim | 8a6ed37 | 2019-12-03 16:05:51 -0800 | [diff] [blame] | 11 | defaults: [ |
Wonsik Kim | 41d8343 | 2020-04-27 16:40:49 -0700 | [diff] [blame] | 12 | "libcodec2-impl-defaults", |
Wonsik Kim | 8a6ed37 | 2019-12-03 16:05:51 -0800 | [diff] [blame] | 13 | "libcodec2-internal-defaults", |
| 14 | ], |
| 15 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 16 | include_dirs: [ |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 17 | "frameworks/av/media/codec2/sfplugin", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 18 | ], |
| 19 | |
| 20 | shared_libs: [ |
Wonsik Kim | 41d8343 | 2020-04-27 16:40:49 -0700 | [diff] [blame] | 21 | "android.hardware.media.bufferpool@2.0", |
| 22 | "android.hardware.media.c2@1.0", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 23 | "libcodec2", |
Wonsik Kim | 8a6ed37 | 2019-12-03 16:05:51 -0800 | [diff] [blame] | 24 | "libcodec2_client", |
Wonsik Kim | 41d8343 | 2020-04-27 16:40:49 -0700 | [diff] [blame] | 25 | "libhidlbase", |
| 26 | "libfmq", |
| 27 | "libmedia_omx", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 28 | "libsfplugin_ccodec", |
Wonsik Kim | 8a6ed37 | 2019-12-03 16:05:51 -0800 | [diff] [blame] | 29 | "libsfplugin_ccodec_utils", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 30 | "libstagefright_foundation", |
| 31 | "libutils", |
| 32 | ], |
| 33 | |
Wonsik Kim | 41d8343 | 2020-04-27 16:40:49 -0700 | [diff] [blame] | 34 | static_libs: [ |
| 35 | "libcodec2_hidl@1.0", |
| 36 | "libstagefright_bufferpool@2.0", |
| 37 | ], |
| 38 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 39 | cflags: [ |
| 40 | "-Werror", |
| 41 | "-Wall", |
| 42 | ], |
| 43 | } |
| 44 | |
| 45 | cc_test { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 46 | name: "mc_sanity_test", |
Ray Essick | f867ca7 | 2020-04-29 19:41:08 -0700 | [diff] [blame] | 47 | test_suites: ["device-tests"], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 48 | |
| 49 | srcs: [ |
| 50 | "MediaCodec_sanity_test.cpp", |
| 51 | ], |
| 52 | |
| 53 | include_dirs: [ |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 54 | "frameworks/av/media/codec2/sfplugin", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 55 | ], |
| 56 | |
Marco Nelissen | 13aa1a4 | 2019-09-27 10:21:55 -0700 | [diff] [blame] | 57 | header_libs: [ |
| 58 | "libmediadrm_headers", |
Marco Nelissen | 7c96ea7 | 2020-01-10 15:46:22 -0800 | [diff] [blame] | 59 | "libmediametrics_headers", |
Marco Nelissen | 13aa1a4 | 2019-09-27 10:21:55 -0700 | [diff] [blame] | 60 | ], |
| 61 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 62 | shared_libs: [ |
| 63 | "libbinder", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 64 | "libcodec2", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 65 | "libgui", |
| 66 | "libmedia", |
| 67 | "libmedia_omx", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 68 | "libsfplugin_ccodec", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 69 | "libstagefright", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 70 | "libstagefright_foundation", |
| 71 | "libutils", |
| 72 | ], |
| 73 | |
| 74 | cflags: [ |
| 75 | "-Werror", |
| 76 | "-Wall", |
| 77 | ], |
| 78 | } |