diff options
author | Bob Badour <bbadour@google.com> | 2021-02-17 17:22:23 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-17 17:22:23 +0000 |
commit | c5ea10713536807fa87c900a8cb5c712a6f075e2 (patch) | |
tree | 7f402ca710a9a0f81f7450622ed81437feaa073a | |
parent | f315c9e0692750b6f9b189b405ea5795cf24cf4b (diff) | |
parent | fd44443305ebc9bddb90d28f7cb5129825202599 (diff) | |
download | f2fs-tools-c5ea10713536807fa87c900a8cb5c712a6f075e2.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/f2fs-tools am: 420d2e2e49 am: b879e75bf2 am: fd44443305
Original change: https://android-review.googlesource.com/c/platform/external/f2fs-tools/+/1588627
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4cdbd4e7cbe2cb9bb7cfefbf86ab3461338b4912
-rw-r--r-- | Android.bp | 39 | ||||
-rw-r--r-- | tools/f2fs_io/Android.bp | 12 | ||||
-rw-r--r-- | tools/sg_write_buffer/Android.bp | 10 |
3 files changed, 61 insertions, 0 deletions
@@ -1,5 +1,44 @@ // Copyright 2017 The Android Open Source Project +package { + default_applicable_licenses: ["external_f2fs-tools_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. +// +// large-scale-change included anything that looked like it might be a license +// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. +// +// Please consider removing redundant or irrelevant files from 'license_text:'. +// See: http://go/android-license-faq +license { + name: "external_f2fs-tools_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-BSD", + "SPDX-license-identifier-GPL", + "SPDX-license-identifier-GPL-2.0", + "SPDX-license-identifier-LGPL", + "SPDX-license-identifier-LGPL-2.1", + ], + license_text: [ + "COPYING", + "NOTICE", + ], +} + cc_defaults { name: "f2fs-tools-defaults", cflags: [ diff --git a/tools/f2fs_io/Android.bp b/tools/f2fs_io/Android.bp index 7607d5a..c89438f 100644 --- a/tools/f2fs_io/Android.bp +++ b/tools/f2fs_io/Android.bp @@ -1,3 +1,15 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "external_f2fs-tools_license" + // to get the below license kinds: + // SPDX-license-identifier-GPL + // SPDX-license-identifier-GPL-2.0 + // SPDX-license-identifier-LGPL + // SPDX-license-identifier-LGPL-2.1 + default_applicable_licenses: ["external_f2fs-tools_license"], +} + cc_defaults { name: "f2fs-io-defaults", cflags: [ diff --git a/tools/sg_write_buffer/Android.bp b/tools/sg_write_buffer/Android.bp index 56e18dd..93b924d 100644 --- a/tools/sg_write_buffer/Android.bp +++ b/tools/sg_write_buffer/Android.bp @@ -1,3 +1,13 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "external_f2fs-tools_license" + // to get the below license kinds: + // SPDX-license-identifier-BSD + // SPDX-license-identifier-GPL-2.0 + default_applicable_licenses: ["external_f2fs-tools_license"], +} + cc_defaults { name: "sg3-utils-defaults", cflags: [ |