1*33edd672SMark// Copyright (C) 2021 The Android Open Source Project 2*33edd672SMark// 3*33edd672SMark// Licensed under the Apache License, Version 2.0 (the "License"); 4*33edd672SMark// you may not use this file except in compliance with the License. 5*33edd672SMark// You may obtain a copy of the License at 6*33edd672SMark// 7*33edd672SMark// http://www.apache.org/licenses/LICENSE-2.0 8*33edd672SMark// 9*33edd672SMark// Unless required by applicable law or agreed to in writing, software 10*33edd672SMark// distributed under the License is distributed on an "AS IS" BASIS, 11*33edd672SMark// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*33edd672SMark// See the License for the specific language governing permissions and 13*33edd672SMark// limitations under the License. 14*33edd672SMark 15*33edd672SMarkpackage { 16*33edd672SMark default_applicable_licenses: ["external_jazzer-api_license"], 17*33edd672SMark} 18*33edd672SMark 19*33edd672SMark// Added automatically by a large-scale-change that took the approach of 20*33edd672SMark// 'apply every license found to every target'. While this makes sure we respect 21*33edd672SMark// every license restriction, it may not be entirely correct. 22*33edd672SMark// 23*33edd672SMark// e.g. GPL in an MIT project might only apply to the contrib/ directory. 24*33edd672SMark// 25*33edd672SMark// Please consider splitting the single license below into multiple licenses, 26*33edd672SMark// taking care not to lose any license_kind information, and overriding the 27*33edd672SMark// default license using the 'licenses: [...]' property on targets as needed. 28*33edd672SMark// 29*33edd672SMark// For unused files, consider creating a 'fileGroup' with "//visibility:private" 30*33edd672SMark// to attach the license to, and including a comment whether the files may be 31*33edd672SMark// used in the current project. 32*33edd672SMark// 33*33edd672SMark// large-scale-change filtered out the below license kinds as false-positives: 34*33edd672SMark// SPDX-license-identifier-EPL 35*33edd672SMark// See: http://go/android-license-faq 36*33edd672SMarklicense { 37*33edd672SMark name: "external_jazzer-api_license", 38*33edd672SMark visibility: [":__subpackages__"], 39*33edd672SMark license_kinds: [ 40*33edd672SMark "SPDX-license-identifier-Apache-2.0", 41*33edd672SMark "legacy_unencumbered", 42*33edd672SMark ], 43*33edd672SMark license_text: [ 44*33edd672SMark "LICENSE", 45*33edd672SMark ], 46*33edd672SMark} 47*33edd672SMark 48*33edd672SMarkjava_library { 49*33edd672SMark name: "jazzer", 50*33edd672SMark host_supported: true, 51*33edd672SMark srcs: [ 52*33edd672SMark "src/main/java/com/code_intelligence/jazzer/api/*.java", 53*33edd672SMark ], 54*33edd672SMark visibility: ["//visibility:public"], 55*33edd672SMark} 56*33edd672SMark 57*33edd672SMarkjava_binary { 58*33edd672SMark name: "jazzer_setup", 59*33edd672SMark wrapper: "jazzer_setup.sh", 60*33edd672SMark host_supported: true, 61*33edd672SMark srcs: [ 62*33edd672SMark "JazzerSetup.java", 63*33edd672SMark ], 64*33edd672SMark} 65