1*7dc08ffcSJunyu Laipackage { 2*7dc08ffcSJunyu Lai default_applicable_licenses: ["external_scapy_license"], 3*7dc08ffcSJunyu Lai} 4*7dc08ffcSJunyu Lai 5*7dc08ffcSJunyu Lai// Added automatically by a large-scale-change that took the approach of 6*7dc08ffcSJunyu Lai// 'apply every license found to every target'. While this makes sure we respect 7*7dc08ffcSJunyu Lai// every license restriction, it may not be entirely correct. 8*7dc08ffcSJunyu Lai// 9*7dc08ffcSJunyu Lai// e.g. GPL in an MIT project might only apply to the contrib/ directory. 10*7dc08ffcSJunyu Lai// 11*7dc08ffcSJunyu Lai// Please consider splitting the single license below into multiple licenses, 12*7dc08ffcSJunyu Lai// taking care not to lose any license_kind information, and overriding the 13*7dc08ffcSJunyu Lai// default license using the 'licenses: [...]' property on targets as needed. 14*7dc08ffcSJunyu Lai// 15*7dc08ffcSJunyu Lai// For unused files, consider creating a 'filegroup' with "//visibility:private" 16*7dc08ffcSJunyu Lai// to attach the license to, and including a comment whether the files may be 17*7dc08ffcSJunyu Lai// used in the current project. 18*7dc08ffcSJunyu Lai// http://go/android-license-faq 19*7dc08ffcSJunyu Lailicense { 20*7dc08ffcSJunyu Lai name: "external_scapy_license", 21*7dc08ffcSJunyu Lai visibility: [":__subpackages__"], 22*7dc08ffcSJunyu Lai license_kinds: [ 23*7dc08ffcSJunyu Lai "SPDX-license-identifier-GPL", 24*7dc08ffcSJunyu Lai "SPDX-license-identifier-GPL-2.0", 25*7dc08ffcSJunyu Lai "SPDX-license-identifier-GPL-3.0", 26*7dc08ffcSJunyu Lai "SPDX-license-identifier-LGPL", 27*7dc08ffcSJunyu Lai "SPDX-license-identifier-MIT", 28*7dc08ffcSJunyu Lai ], 29*7dc08ffcSJunyu Lai license_text: [ 30*7dc08ffcSJunyu Lai "LICENSE", 31*7dc08ffcSJunyu Lai ], 32*7dc08ffcSJunyu Lai} 33*7dc08ffcSJunyu Lai 34*7dc08ffcSJunyu Laipython_library { 35*7dc08ffcSJunyu Lai name: "scapy", 36*7dc08ffcSJunyu Lai srcs: [ 37*7dc08ffcSJunyu Lai "scapy/**/*.py", 38*7dc08ffcSJunyu Lai ], 39*7dc08ffcSJunyu Lai host_supported: true, 40*7dc08ffcSJunyu Lai} 41