summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-03-15 09:22:30 -0700
committerBob Badour <bbadour@google.com>2021-03-15 09:22:30 -0700
commit0b89431377bc571aaccf29ed264a74a2baece4be (patch)
treef5c222716adb0edb7956efa7b336944f21443004
parent992173b6c3b083237763820e5031048b88f177bb (diff)
downloadnfc-0b89431377bc571aaccf29ed264a74a2baece4be.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to hardware/samsung/nfcplatform-tools-31.0.2
Added SPDX-license-identifier-Apache-2.0 to: 1.2/Android.bp Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ie989c7e6faa26c77b492621806c675f4d005994a
-rw-r--r--1.2/Android.bp9
-rw-r--r--Android.bp17
2 files changed, 26 insertions, 0 deletions
diff --git a/1.2/Android.bp b/1.2/Android.bp
index fbd21fe..a1e8f4e 100644
--- a/1.2/Android.bp
+++ b/1.2/Android.bp
@@ -1,3 +1,12 @@
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "hardware_samsung_nfc_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["hardware_samsung_nfc_license"],
+}
+
cc_binary {
name: "android.hardware.nfc@1.2-service.samsung",
defaults: ["hidl_defaults"],
diff --git a/Android.bp b/Android.bp
index 4bcd3b8..260b21a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -13,6 +13,23 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["hardware_samsung_nfc_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "hardware_samsung_nfc_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
cc_library_shared {
name: "nfc_nci_samsung",
defaults: ["hidl_defaults"],