Harish Mahendrakar | cb528e2 | 2021-03-03 21:30:35 -0800 | [diff] [blame] | 1 | package { |
| 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 | |
| 10 | cc_defaults { |
| 11 | name: "C2SoftCodecTest-defaults", |
| 12 | gtest: true, |
| 13 | host_supported: false, |
| 14 | srcs: [ |
| 15 | "C2SoftCodecTest.cpp", |
| 16 | ], |
| 17 | |
| 18 | static_libs: [ |
| 19 | "liblog", |
| 20 | "libion", |
| 21 | "libfmq", |
| 22 | "libbase", |
| 23 | "libutils", |
| 24 | "libcutils", |
| 25 | "libcodec2", |
| 26 | "libhidlbase", |
| 27 | "libdmabufheap", |
| 28 | "libcodec2_vndk", |
| 29 | "libnativewindow", |
| 30 | "libcodec2_soft_common", |
| 31 | "libsfplugin_ccodec_utils", |
| 32 | "libstagefright_foundation", |
| 33 | "libstagefright_bufferpool@2.0.1", |
| 34 | "android.hardware.graphics.mapper@2.0", |
| 35 | "android.hardware.graphics.mapper@3.0", |
| 36 | "android.hardware.media.bufferpool@2.0", |
| 37 | "android.hardware.graphics.allocator@2.0", |
| 38 | "android.hardware.graphics.allocator@3.0", |
| 39 | "android.hardware.graphics.bufferqueue@2.0", |
| 40 | ], |
| 41 | |
| 42 | shared_libs: [ |
| 43 | "libui", |
| 44 | "libdl", |
| 45 | "libhardware", |
| 46 | "libvndksupport", |
| 47 | "libprocessgroup", |
| 48 | ], |
| 49 | |
| 50 | cflags: [ |
| 51 | "-Wall", |
| 52 | "-Werror", |
| 53 | ], |
| 54 | } |
| 55 | |
| 56 | cc_test { |
| 57 | name: "C2SoftMpeg4DecTest", |
| 58 | defaults: ["C2SoftCodecTest-defaults"], |
| 59 | |
| 60 | static_libs: [ |
| 61 | "libstagefright_m4vh263dec", |
| 62 | "libcodec2_soft_mpeg4dec", |
| 63 | ], |
| 64 | |
| 65 | test_suites: [ |
| 66 | "general-tests", |
| 67 | ], |
| 68 | } |