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 "external_v4l2_codec2_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-BSD 7 default_applicable_licenses: ["external_v4l2_codec2_license"], 8} 9 10cc_binary { 11 name: "android.hardware.media.c2@1.0-service-v4l2", 12 13 defaults: [ 14 "hidl_defaults", 15 "libcodec2-hidl-defaults", 16 ], 17 vendor: true, 18 relative_install_path: "hw", 19 20 srcs: [ 21 "service.cpp", 22 ], 23 24 shared_libs: [ 25 "libv4l2_codec2_components", 26 "libavservices_minijail_vendor", 27 "libchrome", 28 "libcutils", 29 "libhidlbase", 30 "liblog", 31 "libutils", 32 ], 33 34 required: ["android.hardware.media.c2@1.2-default-seccomp_policy"], 35 36 compile_multilib: "both", 37 multilib: { 38 lib32: { 39 suffix: "-32", 40 init_rc: ["android.hardware.media.c2@1.0-service-v4l2-32.rc"], 41 }, 42 lib64: { 43 suffix: "-64", 44 init_rc: ["android.hardware.media.c2@1.0-service-v4l2-64.rc"], 45 }, 46 }, 47} 48