| Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame^] | 1 | cc_test { | 
|  | 2 | name: "codec2_param_test", | 
|  | 3 |  | 
|  | 4 | srcs: [ | 
|  | 5 | "C2Param_test.cpp", | 
|  | 6 | ], | 
|  | 7 |  | 
|  | 8 | include_dirs: [ | 
|  | 9 | "hardware/google/av/codec2/include", | 
|  | 10 | "hardware/google/av/codec2/vndk/include", | 
|  | 11 | ], | 
|  | 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 |  | 
|  | 26 | cc_test { | 
|  | 27 | name: "codec2_test", | 
|  | 28 |  | 
|  | 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: [ | 
|  | 40 | "libcutils", | 
|  | 41 | "liblog", | 
|  | 42 | "libstagefright_codec2", | 
|  | 43 | "libstagefright_codec2_vndk", | 
|  | 44 | "libutils", | 
|  | 45 | ], | 
|  | 46 |  | 
|  | 47 | cflags: [ | 
|  | 48 | "-Werror", | 
|  | 49 | "-Wall", | 
|  | 50 | ], | 
|  | 51 | } | 
|  | 52 |  | 
|  | 53 | cc_test { | 
|  | 54 | name: "codec2_interface_test", | 
|  | 55 |  | 
|  | 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", | 
|  | 67 | "libstagefright_codec2", | 
|  | 68 | "libstagefright_codec2_vndk", | 
|  | 69 | "libutils", | 
|  | 70 | ], | 
|  | 71 |  | 
|  | 72 | cflags: [ | 
|  | 73 | "-Werror", | 
|  | 74 | "-Wall", | 
|  | 75 | ], | 
|  | 76 | } |