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_library { 11 name: "libv4l2_codec2_common", 12 vendor: true, 13 14 defaults: [ 15 "libcodec2-impl-defaults", 16 ], 17 18 srcs: [ 19 "Common.cpp", 20 "EncodeHelpers.cpp", 21 "FormatConverter.cpp", 22 "Fourcc.cpp", 23 "NalParser.cpp", 24 "V4L2ComponentCommon.cpp", 25 "VideoTypes.cpp", 26 "V4L2Device.cpp", 27 "V4L2DevicePoller.cpp", 28 "VideoPixelFormat.cpp", 29 ], 30 31 export_include_dirs: [ 32 "include", 33 ], 34 35 shared_libs: [ 36 "libchrome", 37 "libcutils", 38 "liblog", 39 "libstagefright_foundation", 40 "libui", 41 "libutils", 42 ], 43 44 static_libs: [ 45 "libyuv_static" 46 ], 47 48 cflags: [ 49 "-Werror", 50 "-Wall", 51 ], 52} 53