| package { |
| // See: http://go/android-license-faq |
| // A large-scale-change added 'default_applicable_licenses' to import |
| // all of the 'license_kinds' from "device_generic_goldfish-opengl_license" |
| // to get the below license kinds: |
| // SPDX-license-identifier-Apache-2.0 |
| default_applicable_licenses: ["device_generic_goldfish-opengl_license"], |
| } |
| |
| cc_library_shared { |
| name: "libcodec2_goldfish_avcdec", |
| vendor: true, |
| defaults: [ |
| "libcodec2_goldfish-defaults", |
| ], |
| |
| srcs: ["C2GoldfishAvcDec.cpp", |
| "GoldfishH264Helper.cpp", |
| "MediaH264Decoder.cpp", |
| ], |
| |
| shared_libs: [ |
| "android.hardware.graphics.allocator@3.0", |
| "android.hardware.graphics.mapper@3.0", |
| "libgoldfish_codec2_store", |
| ], |
| |
| header_libs: [ |
| "libgralloc_cb.ranchu", |
| "libgralloc_cb3.ranchu", |
| ], |
| |
| static_libs: ["libavcdec", |
| ], |
| } |