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_available: 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 "H264NalParser.cpp", 24 "HEVCNalParser.cpp", 25 "NalParser.cpp", 26 "VideoTypes.cpp", 27 "VideoPixelFormat.cpp", 28 ], 29 30 export_include_dirs: [ 31 "include", 32 ], 33 34 shared_libs: [ 35 "libchrome", 36 "libcutils", 37 "liblog", 38 "libstagefright_foundation", 39 "libui", 40 "libutils", 41 ], 42 43 static_libs: [ 44 "libyuv_static" 45 ], 46 47 cflags: [ 48 "-Werror", 49 "-Wall", 50 ], 51} 52