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 "frameworks_av_media_libmediaplayerservice_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: [ 8 "frameworks_av_media_libmediaplayerservice_license", 9 ], 10} 11 12cc_library_static { 13 name: "libplayerservice_datasource", 14 15 srcs: [ 16 "PlayerServiceDataSourceFactory.cpp", 17 "PlayerServiceFileSource.cpp", 18 "PlayerServiceMediaHTTP.cpp", 19 ], 20 21 header_libs: [ 22 "libmedia_headers", 23 ], 24 25 shared_libs: [ 26 "libdatasource", 27 "libdrmframework", 28 "liblog", 29 "libutils", 30 ], 31 32 local_include_dirs: [ 33 "include", 34 ], 35 36 export_include_dirs: [ 37 "include", 38 ], 39 40 cflags: [ 41 "-Werror", 42 "-Wno-error=deprecated-declarations", 43 "-Wall", 44 ], 45 46 sanitize: { 47 misc_undefined: [ 48 "unsigned-integer-overflow", 49 "signed-integer-overflow", 50 ], 51 cfi: true, 52 }, 53} 54