diff options
author | Bob Badour <bbadour@google.com> | 2021-02-16 23:02:26 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-16 23:02:26 +0000 |
commit | d04303a5eb90f523b7ef09e19bb0100ef1c6dff1 (patch) | |
tree | 6990be9557cd0b2a01c3c4c3c604dd2ae257f27a | |
parent | 7a24447c4d80b625d0e7f6de31f45080d3d8b42b (diff) | |
parent | 95b3c3862469f0d6e4de336527ad032fe5b75e08 (diff) | |
download | google-breakpad-d04303a5eb90f523b7ef09e19bb0100ef1c6dff1.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/google-breakpad am: a29f0590a4 am: 61ebad0fd0 am: 95b3c38624
Original change: https://android-review.googlesource.com/c/platform/external/google-breakpad/+/1588975
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib3d71a0a2ad3bdaceba921d67476e5d4ee534e3a
-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) |