summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-03-15 09:26:46 -0700
committerBob Badour <bbadour@google.com>2021-03-15 09:26:46 -0700
commit717759c2036e6c18e8886c1e4b8f955d1a6a5467 (patch)
treed3dfd7eeb74bee11715a4b502201fee449e5bec4 /Android.bp
parentb28c52c011075fafd1b5255c1cdfbeb0ceb5ad8d (diff)
downloadbonito-717759c2036e6c18e8886c1e4b8f955d1a6a5467.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to device/google/bonito
Added SPDX-license-identifier-Apache-2.0 to: bonito/overlay_packages/SettingsOverlayG020A/Android.bp bonito/overlay_packages/SettingsOverlayG020B/Android.bp bonito/overlay_packages/SettingsOverlayG020C/Android.bp bonito/overlay_packages/SettingsOverlayG020D/Android.bp bootctrl/Android.bp dumpstate/Android.mk health/Android.bp keymaster/Android.bp pixelstats/Android.bp powerstats/Android.bp rro_overlays/WifiOverlay/Android.bp sargo/overlay_packages/SettingsOverlayG020E/Android.bp sargo/overlay_packages/SettingsOverlayG020E_VN/Android.bp sargo/overlay_packages/SettingsOverlayG020F/Android.bp sargo/overlay_packages/SettingsOverlayG020F_VN/Android.bp sargo/overlay_packages/SettingsOverlayG020G/Android.bp sargo/overlay_packages/SettingsOverlayG020G_VN/Android.bp sargo/overlay_packages/SettingsOverlayG020H/Android.bp sargo/overlay_packages/SettingsOverlayG020H_VN/Android.bp self-extractors/qcom/staging/Android.mk self-extractors_sargo/qcom/staging/Android.mk usb/Android.bp voice_processing/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-GPL-2.0 SPDX-license-identifier-MIT legacy_unencumbered to: Android.bp Added SPDX-license-identifier-BSD to: gpt-utils/Android.bp sdm710/thermal-engine/Android.mk Added SPDX-license-identifier-MIT legacy_unencumbered to: json-c/Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Id006dcce02a1efa9e10fd6fe383a39a8c25d1ce5
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp31
1 files changed, 31 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 913278a7..1b024303 100644
--- a/Android.bp
+++ b/Android.bp
@@ -5,3 +5,34 @@ soong_namespace {
"hardware/qcom/bootctrl",
],
}
+
+package {
+ default_applicable_licenses: ["device_google_bonito_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: "device_google_bonito_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-BSD",
+ "SPDX-license-identifier-GPL-2.0",
+ "SPDX-license-identifier-MIT",
+ "legacy_unencumbered",
+ ],
+ // large-scale-change unable to identify any license_text files
+}