diff options
author | android-build-prod (mdb) <android-build-team-robot@google.com> | 2021-03-04 00:37:49 +0000 |
---|---|---|
committer | android-build-prod (mdb) <android-build-team-robot@google.com> | 2021-03-04 00:37:49 +0000 |
commit | df24542a7c67c8d09d2b0c946028af11f8afa557 (patch) | |
tree | 605ec8a4f83bf128c50efeb7d13b854d9fd0ab73 | |
parent | d62afd286ccf979f814e84a5921256764edaa7f7 (diff) | |
parent | 83d2d91d583139459adb315aee47512a6caeb8ae (diff) | |
download | f2fs-tools-df24542a7c67c8d09d2b0c946028af11f8afa557.tar.gz |
Snap for 7183507 from 83d2d91d583139459adb315aee47512a6caeb8ae to sdk-releaseplatform-tools-31.0.2platform-tools-31.0.1
Change-Id: I2ecc1dde2459f0982f1c5a6cff42128ac59da59d
-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: [ |