diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2021-02-16 20:08:14 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-16 20:08:14 +0000 |
commit | ee0d2dd68f27347b94270ed37c19e6d5f7b20ec6 (patch) | |
tree | 014189f0a8838ac712504946af1b531dcbf66eac | |
parent | f92aa799a8a226aade20111162abefa9a580a7f1 (diff) | |
parent | 0a830f492034812b4bfcc0a57cc11f4b71c7b32d (diff) | |
download | mclinker-ee0d2dd68f27347b94270ed37c19e6d5f7b20ec6.tar.gz |
Merge "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/compile/mclinker" am: b031e3247e am: 3ffe70ba7f am: 3264f09741 am: 0a830f4920
Original change: https://android-review.googlesource.com/c/platform/frameworks/compile/mclinker/+/1588965
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6ddb0ad6cbbbf7ffdcba060d689ff8fb2599d13d
-rw-r--r-- | Android.bp | 31 | ||||
-rw-r--r-- | lib/ADT/Android.bp | 9 | ||||
-rw-r--r-- | lib/Android.bp | 9 | ||||
-rw-r--r-- | lib/Core/Android.bp | 9 | ||||
-rw-r--r-- | lib/Fragment/Android.bp | 9 | ||||
-rw-r--r-- | lib/LD/Android.bp | 9 | ||||
-rw-r--r-- | lib/MC/Android.bp | 9 | ||||
-rw-r--r-- | lib/Object/Android.bp | 9 | ||||
-rw-r--r-- | lib/Script/Android.bp | 9 | ||||
-rw-r--r-- | lib/Support/Android.bp | 9 | ||||
-rw-r--r-- | lib/Target/AArch64/Android.bp | 9 | ||||
-rw-r--r-- | lib/Target/AArch64/TargetInfo/Android.bp | 9 | ||||
-rw-r--r-- | lib/Target/ARM/Android.bp | 9 | ||||
-rw-r--r-- | lib/Target/ARM/TargetInfo/Android.bp | 9 | ||||
-rw-r--r-- | lib/Target/Android.bp | 9 | ||||
-rw-r--r-- | lib/Target/Mips/Android.bp | 9 | ||||
-rw-r--r-- | lib/Target/Mips/TargetInfo/Android.bp | 9 | ||||
-rw-r--r-- | lib/Target/X86/Android.bp | 9 | ||||
-rw-r--r-- | lib/Target/X86/TargetInfo/Android.bp | 9 | ||||
-rw-r--r-- | tools/mcld/Android.bp | 9 |
20 files changed, 202 insertions, 0 deletions
@@ -1,3 +1,34 @@ +package { + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + +// Added automatically by a large-scale-change that took the approach of +// 'apply every license found to every target'. While this makes sure we respect +// every license restriction, it may not be entirely correct. +// +// e.g. GPL in an MIT project might only apply to the contrib/ directory. +// +// Please consider splitting the single license below into multiple licenses, +// taking care not to lose any license_kind information, and overriding the +// default license using the 'licenses: [...]' property on targets as needed. +// +// For unused files, consider creating a 'fileGroup' with "//visibility:private" +// to attach the license to, and including a comment whether the files may be +// used in the current project. +// See: http://go/android-license-faq +license { + name: "frameworks_compile_mclinker_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-BSD", + "SPDX-license-identifier-MIT", + "SPDX-license-identifier-NCSA", + ], + license_text: [ + "LICENSE.TXT", + ], +} + cc_defaults { name: "mcld-defaults", defaults: ["llvm-defaults"], diff --git a/lib/ADT/Android.bp b/lib/ADT/Android.bp index ee09f47..43ab95a 100644 --- a/lib/ADT/Android.bp +++ b/lib/ADT/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldADT", defaults: ["mcld-defaults"], diff --git a/lib/Android.bp b/lib/Android.bp index b44c296..2c8bedb 100644 --- a/lib/Android.bp +++ b/lib/Android.bp @@ -1 +1,10 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + subdirs = ["*"] diff --git a/lib/Core/Android.bp b/lib/Core/Android.bp index e3934bd..6e6f0c8 100644 --- a/lib/Core/Android.bp +++ b/lib/Core/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldCore", defaults: ["mcld-defaults"], diff --git a/lib/Fragment/Android.bp b/lib/Fragment/Android.bp index 0da4a5b..fef8586 100644 --- a/lib/Fragment/Android.bp +++ b/lib/Fragment/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldFragment", defaults: ["mcld-defaults"], diff --git a/lib/LD/Android.bp b/lib/LD/Android.bp index a296d81..d8f7030 100644 --- a/lib/LD/Android.bp +++ b/lib/LD/Android.bp @@ -2,6 +2,15 @@ // Static library: libmcldLD // ===================================================== +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldLD", defaults: ["mcld-defaults"], diff --git a/lib/MC/Android.bp b/lib/MC/Android.bp index addc270..8c82a29 100644 --- a/lib/MC/Android.bp +++ b/lib/MC/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldMC", defaults: ["mcld-defaults"], diff --git a/lib/Object/Android.bp b/lib/Object/Android.bp index c671359..ec8e4f9 100644 --- a/lib/Object/Android.bp +++ b/lib/Object/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldObject", defaults: ["mcld-defaults"], diff --git a/lib/Script/Android.bp b/lib/Script/Android.bp index c90f3b0..8d20ed2 100644 --- a/lib/Script/Android.bp +++ b/lib/Script/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldScript", defaults: ["mcld-defaults"], diff --git a/lib/Support/Android.bp b/lib/Support/Android.bp index 324390a..d2887eb 100644 --- a/lib/Support/Android.bp +++ b/lib/Support/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldSupport", defaults: ["mcld-defaults"], diff --git a/lib/Target/AArch64/Android.bp b/lib/Target/AArch64/Android.bp index d922741..6a532ca 100644 --- a/lib/Target/AArch64/Android.bp +++ b/lib/Target/AArch64/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldAArch64Target", defaults: ["mcld-defaults"], diff --git a/lib/Target/AArch64/TargetInfo/Android.bp b/lib/Target/AArch64/TargetInfo/Android.bp index 6900d91..118b56b 100644 --- a/lib/Target/AArch64/TargetInfo/Android.bp +++ b/lib/Target/AArch64/TargetInfo/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldAArch64Info", defaults: ["mcld-defaults"], diff --git a/lib/Target/ARM/Android.bp b/lib/Target/ARM/Android.bp index 10e2a41..ce520cb 100644 --- a/lib/Target/ARM/Android.bp +++ b/lib/Target/ARM/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldARMTarget", defaults: ["mcld-defaults"], diff --git a/lib/Target/ARM/TargetInfo/Android.bp b/lib/Target/ARM/TargetInfo/Android.bp index 8717576..d484a00 100644 --- a/lib/Target/ARM/TargetInfo/Android.bp +++ b/lib/Target/ARM/TargetInfo/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldARMInfo", defaults: ["mcld-defaults"], diff --git a/lib/Target/Android.bp b/lib/Target/Android.bp index d852c11..6636193 100644 --- a/lib/Target/Android.bp +++ b/lib/Target/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldTarget", defaults: ["mcld-defaults"], diff --git a/lib/Target/Mips/Android.bp b/lib/Target/Mips/Android.bp index 3e281b4..c9d6260 100644 --- a/lib/Target/Mips/Android.bp +++ b/lib/Target/Mips/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldMipsTarget", defaults: ["mcld-defaults"], diff --git a/lib/Target/Mips/TargetInfo/Android.bp b/lib/Target/Mips/TargetInfo/Android.bp index 6c60603..2ef199f 100644 --- a/lib/Target/Mips/TargetInfo/Android.bp +++ b/lib/Target/Mips/TargetInfo/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldMipsInfo", defaults: ["mcld-defaults"], diff --git a/lib/Target/X86/Android.bp b/lib/Target/X86/Android.bp index 603bff1..8f66271 100644 --- a/lib/Target/X86/Android.bp +++ b/lib/Target/X86/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldX86Target", defaults: ["mcld-defaults"], diff --git a/lib/Target/X86/TargetInfo/Android.bp b/lib/Target/X86/TargetInfo/Android.bp index b02c039..71897f8 100644 --- a/lib/Target/X86/TargetInfo/Android.bp +++ b/lib/Target/X86/TargetInfo/Android.bp @@ -1,3 +1,12 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + cc_library_static { name: "libmcldX86Info", defaults: ["mcld-defaults"], diff --git a/tools/mcld/Android.bp b/tools/mcld/Android.bp index 3050946..3342f36 100644 --- a/tools/mcld/Android.bp +++ b/tools/mcld/Android.bp @@ -1,4 +1,13 @@ // Collect target specific code generation libraries +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_compile_mclinker_license" + // to get the below license kinds: + // SPDX-license-identifier-NCSA + default_applicable_licenses: ["frameworks_compile_mclinker_license"], +} + MCLD_ARM_LIBS = [ "libmcldARMTarget", "libmcldARMInfo", |