diff options
author | Bob Badour <bbadour@google.com> | 2022-10-27 07:31:43 -0700 |
---|---|---|
committer | Bob Badour <bbadour@google.com> | 2022-10-27 07:31:43 -0700 |
commit | b168be5c784cedb28813fe8ed6b78773dfa2affb (patch) | |
tree | 8adec0ad16c36d8d319b7023017d11891f33f9cb | |
parent | 4466e6ec32d4f9c43ea762ab2086aaba8c8a2037 (diff) | |
download | common-b168be5c784cedb28813fe8ed6b78773dfa2affb.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to device/generic/common
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
overlays/SystemUI/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Change-Id: I741257686b659cfffda517895b31cf4e92882943
-rw-r--r-- | Android.bp | 29 | ||||
-rw-r--r-- | overlays/SystemUI/Android.bp | 9 |
2 files changed, 38 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..d84260b --- /dev/null +++ b/Android.bp @@ -0,0 +1,29 @@ +// +// Copyright (C) 2021 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package { + default_applicable_licenses: ["device_generic_common_license"], +} + +// Added automatically by a large-scale-change +// See: http://go/android-license-faq +license { + name: "device_generic_common_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + ], + // large-scale-change unable to identify any license_text files +} diff --git a/overlays/SystemUI/Android.bp b/overlays/SystemUI/Android.bp index f92a804..361729a 100644 --- a/overlays/SystemUI/Android.bp +++ b/overlays/SystemUI/Android.bp @@ -14,6 +14,15 @@ // limitations under the License. // +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "device_generic_common_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["device_generic_common_license"], +} + runtime_resource_overlay { name: "gsi_overlay_systemui", system_ext_specific: true, |