1package { 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 "device_generic_goldfish-opengl_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["device_generic_goldfish-opengl_license"], 8} 9 10cc_library_static { 11 name: "goldfish_vpx_impl", 12 vendor: true, 13 srcs: [ 14 "goldfish_vpx_impl.cpp", 15 ], 16 shared_libs: [ 17 "libcodec2_goldfish_common", 18 "libgoldfish_codec2_store", 19 "liblog", 20 ], 21} 22 23cc_defaults { 24 name: "libcodec2_goldfish_vpXdec_defaults", 25 defaults: [ 26 "libcodec2_goldfish-defaults", 27 ], 28 29 vendor: true, 30 srcs: [ 31 "C2GoldfishVpxDec.cpp", 32 ], 33 header_libs: [ 34 "libgralloc_cb.ranchu", 35 ], 36 static_libs: [ 37 "android.hardware.graphics.common-V6-ndk", 38 "goldfish_vpx_impl", 39 ], 40 shared_libs: [ 41 "libgoldfish_codec2_store", 42 "libvpx", 43 ], 44} 45 46cc_library_shared { 47 name: "libcodec2_goldfish_vp8dec", 48 defaults: [ 49 "libcodec2_goldfish_vpXdec_defaults", 50 ], 51} 52 53cc_library_shared { 54 name: "libcodec2_goldfish_vp9dec", 55 defaults: [ 56 "libcodec2_goldfish_vpXdec_defaults", 57 ], 58 cflags: [ 59 "-DVP9", 60 ], 61} 62