diff options
author | Bob Badour <bbadour@google.com> | 2021-02-12 16:38:58 -0800 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2021-02-12 16:38:58 -0800 |
commit | a29f0590a4fce258a69ee39a944150a02e5c8e16 (patch) | |
tree | 6990be9557cd0b2a01c3c4c3c604dd2ae257f27a | |
parent | 6b550817033a4906a1d304d49a23c7b37a2d8a40 (diff) | |
download | google-breakpad-a29f0590a4fce258a69ee39a944150a02e5c8e16.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/google-breakpadandroid-s-preview-1
Added SPDX-license-identifier-APSL-2.0
SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-Artistic
SPDX-license-identifier-BSD SPDX-license-identifier-FSFAP
SPDX-license-identifier-ISC SPDX-license-identifier-MIT
SPDX-license-identifier-Unicode-DFS legacy_notice
legacy_unencumbered
to:
Android.bp
Added SPDX-license-identifier-BSD
to:
android/google_breakpad/Android.mk
android/sample_app/jni/Android.mk
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I748afbce03f889c37576012387694a670b267eac
-rw-r--r-- | Android.bp | 38 | ||||
-rw-r--r-- | android/google_breakpad/Android.mk | 3 | ||||
-rw-r--r-- | android/sample_app/jni/Android.mk | 3 |
3 files changed, 44 insertions, 0 deletions
@@ -14,6 +14,44 @@ // Static library. // ================================================= +package { + default_applicable_licenses: ["external_google-breakpad_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: "external_google-breakpad_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-APSL-2.0", + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-Artistic", + "SPDX-license-identifier-BSD", + "SPDX-license-identifier-FSFAP", + "SPDX-license-identifier-ISC", + "SPDX-license-identifier-MIT", + "SPDX-license-identifier-Unicode-DFS", + "legacy_notice", + "legacy_unencumbered", + ], + license_text: [ + "LICENSE", + ], +} + cc_library_static { name: "breakpad_client", host_supported: true, diff --git a/android/google_breakpad/Android.mk b/android/google_breakpad/Android.mk index 86184927..252f1af6 100644 --- a/android/google_breakpad/Android.mk +++ b/android/google_breakpad/Android.mk @@ -56,6 +56,9 @@ LOCAL_PATH := $(call my-dir)/../.. include $(CLEAR_VARS) LOCAL_MODULE := breakpad_client +LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD +LOCAL_LICENSE_CONDITIONS := notice +LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../LICENSE LOCAL_CPP_EXTENSION := .cc diff --git a/android/sample_app/jni/Android.mk b/android/sample_app/jni/Android.mk index 61487b52..7ffb4227 100644 --- a/android/sample_app/jni/Android.mk +++ b/android/sample_app/jni/Android.mk @@ -31,6 +31,9 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := test_google_breakpad +LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD +LOCAL_LICENSE_CONDITIONS := notice +LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../../LICENSE LOCAL_SRC_FILES := test_breakpad.cpp LOCAL_STATIC_LIBRARIES += breakpad_client include $(BUILD_EXECUTABLE) |