[LSC] Add LOCAL_LICENSE_KINDS to hardware/samsung/nfc
authorBob Badour <bbadour@google.com>
Mon, 15 Mar 2021 16:22:30 +0000 (09:22 -0700)
committerBob Badour <bbadour@google.com>
Mon, 15 Mar 2021 16:22:30 +0000 (09:22 -0700)
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

1.2/Android.bp
Android.bp

index fbd21fed6f8d7d813e17c5ef5e7d4ac56f7b5c81..a1e8f4e43a40e25e99a96596192817d6f0d8ca47 100644 (file)
@@ -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"],
index 4bcd3b8bb372c30c6846e880f1c14b0e8e2dca75..260b21a2ae465906c1ce1701c515bed82edf9907 100644 (file)
 // 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"],