| package { |
| // See: http://go/android-license-faq |
| // A large-scale-change added 'default_applicable_licenses' to import |
| // all of the 'license_kinds' from "frameworks_av_license" |
| // to get the below license kinds: |
| // SPDX-license-identifier-Apache-2.0 |
| default_applicable_licenses: ["frameworks_av_license"], |
| } |
| |
| cc_defaults { |
| name: "C2SoftCodecTest-defaults", |
| gtest: true, |
| host_supported: false, |
| srcs: [ |
| "C2SoftCodecTest.cpp", |
| ], |
| |
| static_libs: [ |
| "liblog", |
| "libion", |
| "libfmq", |
| "libbase", |
| "libutils", |
| "libcutils", |
| "libcodec2", |
| "libhidlbase", |
| "libdmabufheap", |
| "libcodec2_vndk", |
| "libnativewindow", |
| "libcodec2_soft_common", |
| "libsfplugin_ccodec_utils", |
| "libstagefright_foundation", |
| "libstagefright_bufferpool@2.0.1", |
| "android.hardware.graphics.mapper@2.0", |
| "android.hardware.graphics.mapper@3.0", |
| "android.hardware.media.bufferpool@2.0", |
| "android.hardware.graphics.allocator@2.0", |
| "android.hardware.graphics.allocator@3.0", |
| "android.hardware.graphics.bufferqueue@2.0", |
| ], |
| |
| shared_libs: [ |
| "libui", |
| "libdl", |
| "libhardware", |
| "libvndksupport", |
| "libprocessgroup", |
| ], |
| |
| cflags: [ |
| "-Wall", |
| "-Werror", |
| ], |
| } |
| |
| cc_test { |
| name: "C2SoftMpeg4DecTest", |
| defaults: ["C2SoftCodecTest-defaults"], |
| |
| static_libs: [ |
| "libstagefright_m4vh263dec", |
| "libcodec2_soft_mpeg4dec", |
| ], |
| |
| test_suites: [ |
| "general-tests", |
| ], |
| } |