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