1package { 2 default_applicable_licenses: ["external_glide_license"], 3} 4 5// Added automatically by a large-scale-change that took the approach of 6// 'apply every license found to every target'. While this makes sure we respect 7// every license restriction, it may not be entirely correct. 8// 9// e.g. GPL in an MIT project might only apply to the contrib/ directory. 10// 11// Please consider splitting the single license below into multiple licenses, 12// taking care not to lose any license_kind information, and overriding the 13// default license using the 'licenses: [...]' property on targets as needed. 14// 15// For unused files, consider creating a 'fileGroup' with "//visibility:private" 16// to attach the license to, and including a comment whether the files may be 17// used in the current project. 18// See: http://go/android-license-faq 19license { 20 name: "external_glide_license", 21 visibility: [":__subpackages__"], 22 license_kinds: [ 23 "SPDX-license-identifier-Apache-2.0", 24 "SPDX-license-identifier-BSD", 25 "SPDX-license-identifier-MIT", 26 "legacy_notice", 27 ], 28 license_text: [ 29 "LICENSE", 30 ], 31} 32 33android_library { 34 name: "glide", 35 srcs: [ 36 "library/src/**/*.java", 37 "third_party/disklrucache/src/**/*.java", 38 "third_party/gif_decoder/src/**/*.java", 39 "third_party/gif_encoder/src/**/*.java", 40 ], 41 manifest: "library/src/main/AndroidManifest.xml", 42 libs: [ 43 "android-support-core-ui", 44 "android-support-compat", 45 "volley", 46 ], 47 static_libs: [ 48 "android-support-fragment", 49 ], 50 sdk_version: "current", 51} 52