Add LOCAL_LICENSE_KINDS to build/soong

Added SPDX-license-identifier-Apache-2.0 to:
  Android.bp
  android/Android.bp
  android/soongconfig/Android.bp
  androidmk/Android.bp
  apex/Android.bp
  bazel/Android.bp
  bp2build/Android.bp
  bpf/Android.bp
  bpfix/Android.bp
  cc/Android.bp
  cc/config/Android.bp
  cc/libbuildversion/Android.bp
  cc/libbuildversion/tests/Android.bp
  cc/ndk_api_coverage_parser/Android.bp
  cc/ndkstubgen/Android.bp
  cc/symbolfile/Android.bp
  cmd/dep_fixer/Android.bp
  cmd/diff_target_files/Android.bp
  cmd/extract_apks/Android.bp
  cmd/extract_jar_packages/Android.bp
  cmd/extract_linker/Android.bp
  cmd/fileslist/Android.bp
  cmd/host_bionic_inject/Android.bp
  cmd/javac_wrapper/Android.bp
  cmd/merge_zips/Android.bp
  cmd/multiproduct_kati/Android.bp
  cmd/path_interposer/Android.bp
  cmd/pom2bp/Android.bp
  cmd/pom2mk/Android.bp
  cmd/sbox/Android.bp
  cmd/soong_build/Android.bp
  cmd/soong_env/Android.bp
  cmd/soong_ui/Android.bp
  cmd/zip2zip/Android.bp
  cmd/zipsync/Android.bp
  cuj/Android.bp
  dexpreopt/Android.bp
  dexpreopt/dexpreopt_gen/Android.bp
  env/Android.bp
  etc/Android.bp
  filesystem/Android.bp
  finder/Android.bp
  finder/cmd/Android.bp
  genrule/Android.bp
  jar/Android.bp
  java/Android.bp
  java/config/Android.bp
  kernel/Android.bp
  linkerconfig/Android.bp
  linkerconfig/proto/Android.bp
  makedeps/Android.bp
  partner/Android.bp
  phony/Android.bp
  python/Android.bp
  python/tests/Android.bp
  remoteexec/Android.bp
  rust/Android.bp
  rust/config/Android.bp
  scripts/Android.bp
  sdk/Android.bp
  sh/Android.bp
  shared/Android.bp
  symbol_inject/Android.bp
  symbol_inject/cmd/Android.bp
  sysprop/Android.bp
  tradefed/Android.bp
  ui/build/Android.bp
  ui/logger/Android.bp
  ui/metrics/Android.bp
  ui/metrics/proc/Android.bp
  ui/status/Android.bp
  ui/terminal/Android.bp
  ui/tracer/Android.bp
  xml/Android.bp
  zip/Android.bp
  zip/cmd/Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
  finder/fs/Android.bp
  third_party/zip/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work

Change-Id: Ia47ca14f16b8c9f84f9d533a07e5b00e2c04e8d4
This commit is contained in:
Bob Badour 2021-02-03 18:08:28 -08:00
parent 7a10530736
commit 02040de891
80 changed files with 390 additions and 0 deletions

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
subdirs = [ subdirs = [
"androidmk", "androidmk",
"bpfix", "bpfix",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-android", name: "soong-android",
pkgPath: "android/soong/android", pkgPath: "android/soong/android",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-android-soongconfig", name: "soong-android-soongconfig",
pkgPath: "android/soong/android/soongconfig", pkgPath: "android/soong/android/soongconfig",

View file

@ -16,6 +16,10 @@
// androidmk Android.mk to Blueprints translator // androidmk Android.mk to Blueprints translator
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "androidmk", name: "androidmk",
srcs: [ srcs: [

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-apex", name: "soong-apex",
pkgPath: "android/soong/apex", pkgPath: "android/soong/apex",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-bazel", name: "soong-bazel",
pkgPath: "android/soong/bazel", pkgPath: "android/soong/bazel",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-bp2build", name: "soong-bp2build",
pkgPath: "android/soong/bp2build", pkgPath: "android/soong/bp2build",

View file

@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-bpf", name: "soong-bpf",
pkgPath: "android/soong/bpf", pkgPath: "android/soong/bpf",

View file

@ -16,6 +16,10 @@
// androidmk Android.mk to Blueprints translator // androidmk Android.mk to Blueprints translator
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "bpfix", name: "bpfix",
srcs: [ srcs: [

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-cc", name: "soong-cc",
pkgPath: "android/soong/cc", pkgPath: "android/soong/cc",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-cc-config", name: "soong-cc-config",
pkgPath: "android/soong/cc/config", pkgPath: "android/soong/cc/config",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_library_static { cc_library_static {
name: "libbuildversion", name: "libbuildversion",
host_supported: true, host_supported: true,

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_defaults { cc_defaults {
name: "build_version_test_defaults", name: "build_version_test_defaults",
use_version_lib: true, use_version_lib: true,

View file

@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
python_library_host { python_library_host {
name: "ndk_api_coverage_parser_lib", name: "ndk_api_coverage_parser_lib",
pkg_path: "ndk_api_coverage_parser", pkg_path: "ndk_api_coverage_parser",

View file

@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
python_binary_host { python_binary_host {
name: "ndkstubgen", name: "ndkstubgen",
pkg_path: "ndkstubgen", pkg_path: "ndkstubgen",

View file

@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
python_library_host { python_library_host {
name: "symbolfile", name: "symbolfile",
pkg_path: "symbolfile", pkg_path: "symbolfile",

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "dep_fixer", name: "dep_fixer",
deps: ["soong-makedeps"], deps: ["soong-makedeps"],

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "diff_target_files", name: "diff_target_files",
srcs: [ srcs: [

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "extract_apks", name: "extract_apks",
srcs: ["main.go"], srcs: ["main.go"],

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "extract_jar_packages", name: "extract_jar_packages",
deps: [ deps: [

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "extract_linker", name: "extract_linker",
srcs: ["main.go"], srcs: ["main.go"],

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "fileslist", name: "fileslist",
srcs: [ srcs: [

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "host_bionic_inject", name: "host_bionic_inject",
deps: ["soong-symbol_inject"], deps: ["soong-symbol_inject"],

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "soong_javac_wrapper", name: "soong_javac_wrapper",
srcs: [ srcs: [

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "merge_zips", name: "merge_zips",
deps: [ deps: [

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "multiproduct_kati", name: "multiproduct_kati",
deps: [ deps: [

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "path_interposer", name: "path_interposer",
deps: ["soong-ui-build-paths"], deps: ["soong-ui-build-paths"],

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "pom2bp", name: "pom2bp",
deps: [ deps: [

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "pom2mk", name: "pom2mk",
deps: ["blueprint-proptools"], deps: ["blueprint-proptools"],

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "sbox", name: "sbox",
deps: [ deps: [

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_binary { bootstrap_go_binary {
name: "soong_build", name: "soong_build",
deps: [ deps: [

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_binary { bootstrap_go_binary {
name: "soong_env", name: "soong_env",
deps: [ deps: [

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "soong_ui", name: "soong_ui",
deps: [ deps: [

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "zip2zip", name: "zip2zip",
deps: [ deps: [

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "zipsync", name: "zipsync",
deps: [ deps: [

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "cuj_tests", name: "cuj_tests",
deps: [ deps: [

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-dexpreopt", name: "soong-dexpreopt",
pkgPath: "android/soong/dexpreopt", pkgPath: "android/soong/dexpreopt",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "dexpreopt_gen", name: "dexpreopt_gen",
srcs: [ srcs: [

4
env/Android.bp vendored
View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-env", name: "soong-env",
pkgPath: "android/soong/env", pkgPath: "android/soong/env",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-etc", name: "soong-etc",
pkgPath: "android/soong/etc", pkgPath: "android/soong/etc",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-filesystem", name: "soong-filesystem",
pkgPath: "android/soong/filesystem", pkgPath: "android/soong/filesystem",

View file

@ -16,6 +16,10 @@
// fast, parallel, caching implementation of `find` // fast, parallel, caching implementation of `find`
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
subdirs = [ subdirs = [
"cmd", "cmd",
] ]

View file

@ -16,6 +16,10 @@
// fast, parallel, caching implementation of `find` // fast, parallel, caching implementation of `find`
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "finder", name: "finder",
srcs: [ srcs: [

View file

@ -16,6 +16,21 @@
// mock filesystem // mock filesystem
// //
package {
default_applicable_licenses: [
"Android-Apache-2.0",
"build_soong_finder_fs_license",
],
}
license {
name: "build_soong_finder_fs_license",
license_kinds: [
"SPDX-license-identifier-BSD",
],
license_text: ["LICENSE"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-finder-fs", name: "soong-finder-fs",
pkgPath: "android/soong/finder/fs", pkgPath: "android/soong/finder/fs",

28
finder/fs/LICENSE Normal file
View file

@ -0,0 +1,28 @@
Copyright 2009, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of the Google Inc. nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-genrule", name: "soong-genrule",
pkgPath: "android/soong/genrule", pkgPath: "android/soong/genrule",

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-jar", name: "soong-jar",
pkgPath: "android/soong/jar", pkgPath: "android/soong/jar",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-java", name: "soong-java",
pkgPath: "android/soong/java", pkgPath: "android/soong/java",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-java-config", name: "soong-java-config",
pkgPath: "android/soong/java/config", pkgPath: "android/soong/java/config",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-kernel", name: "soong-kernel",
pkgPath: "android/soong/kernel", pkgPath: "android/soong/kernel",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-linkerconfig", name: "soong-linkerconfig",
pkgPath: "android/soong/linkerconfig", pkgPath: "android/soong/linkerconfig",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_library_static { cc_library_static {
name: "lib_linker_config_proto_lite", name: "lib_linker_config_proto_lite",
host_supported: true, host_supported: true,

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-makedeps", name: "soong-makedeps",
pkgPath: "android/soong/makedeps", pkgPath: "android/soong/makedeps",

View file

@ -16,6 +16,10 @@
// Sample project for creating an extended androidmk // Sample project for creating an extended androidmk
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "partner_androidmk", name: "partner_androidmk",
srcs: [ srcs: [

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-phony", name: "soong-phony",
pkgPath: "android/soong/phony", pkgPath: "android/soong/phony",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-python", name: "soong-python",
pkgPath: "android/soong/python", pkgPath: "android/soong/python",

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
python_test_host { python_test_host {
name: "par_test", name: "par_test",
main: "par_test.py", main: "par_test.py",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-remoteexec", name: "soong-remoteexec",
pkgPath: "android/soong/remoteexec", pkgPath: "android/soong/remoteexec",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-rust", name: "soong-rust",
pkgPath: "android/soong/rust", pkgPath: "android/soong/rust",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-rust-config", name: "soong-rust-config",
pkgPath: "android/soong/rust/config", pkgPath: "android/soong/rust/config",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
python_binary_host { python_binary_host {
name: "check_boot_jars", name: "check_boot_jars",
main: "check_boot_jars/check_boot_jars.py", main: "check_boot_jars/check_boot_jars.py",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-sdk", name: "soong-sdk",
pkgPath: "android/soong/sdk", pkgPath: "android/soong/sdk",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-sh", name: "soong-sh",
pkgPath: "android/soong/sh", pkgPath: "android/soong/sh",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-shared", name: "soong-shared",
pkgPath: "android/soong/shared", pkgPath: "android/soong/shared",

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-symbol_inject", name: "soong-symbol_inject",
pkgPath: "android/soong/symbol_inject", pkgPath: "android/soong/symbol_inject",

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "symbol_inject", name: "symbol_inject",
deps: ["soong-symbol_inject"], deps: ["soong-symbol_inject"],

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-sysprop", name: "soong-sysprop",
pkgPath: "android/soong/sysprop", pkgPath: "android/soong/sysprop",

View file

@ -12,6 +12,21 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: [
"Android-Apache-2.0",
"build_soong_third_party_zip_license",
],
}
license {
name: "build_soong_third_party_zip_license",
license_kinds: [
"SPDX-license-identifier-BSD",
],
license_text: ["LICENSE"],
}
bootstrap_go_package { bootstrap_go_package {
name: "android-archive-zip", name: "android-archive-zip",
pkgPath: "android/soong/third_party/zip", pkgPath: "android/soong/third_party/zip",

28
third_party/zip/LICENSE vendored Normal file
View file

@ -0,0 +1,28 @@
Copyright 2009, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of the Google Inc. nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-tradefed", name: "soong-tradefed",
pkgPath: "android/soong/tradefed", pkgPath: "android/soong/tradefed",

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-ui-build-paths", name: "soong-ui-build-paths",
pkgPath: "android/soong/ui/build/paths", pkgPath: "android/soong/ui/build/paths",

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-ui-logger", name: "soong-ui-logger",
pkgPath: "android/soong/ui/logger", pkgPath: "android/soong/ui/logger",

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-ui-metrics", name: "soong-ui-metrics",
pkgPath: "android/soong/ui/metrics", pkgPath: "android/soong/ui/metrics",

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-ui-metrics-proc", name: "soong-ui-metrics-proc",
pkgPath: "android/soong/ui/metrics/proc", pkgPath: "android/soong/ui/metrics/proc",

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-ui-status", name: "soong-ui-status",
pkgPath: "android/soong/ui/status", pkgPath: "android/soong/ui/status",

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-ui-terminal", name: "soong-ui-terminal",
pkgPath: "android/soong/ui/terminal", pkgPath: "android/soong/ui/terminal",

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-ui-tracer", name: "soong-ui-tracer",
pkgPath: "android/soong/ui/tracer", pkgPath: "android/soong/ui/tracer",

View file

@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package { bootstrap_go_package {
name: "soong-xml", name: "soong-xml",
pkgPath: "android/soong/xml", pkgPath: "android/soong/xml",

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
subdirs = ["cmd"] subdirs = ["cmd"]
bootstrap_go_package { bootstrap_go_package {

View file

@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
blueprint_go_binary { blueprint_go_binary {
name: "soong_zip", name: "soong_zip",
deps: [ deps: [