Mark ab/7061308 as merged in stage.
Bug: 180401296
Merged-In: I0a7c9c0009a617d5b580b09c27a47480063a3cc4
Change-Id: I5d769bc4ca0a0138deacbc314445ba7935c1a6f0
diff --git a/1.0/Android.bp b/1.0/Android.bp
index 2cacd47..297b277 100644
--- a/1.0/Android.bp
+++ b/1.0/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_st_secure_element_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["hardware_st_secure_element_license"],
+}
+
cc_binary {
name: "android.hardware.secure_element@1.0-service.st",
relative_install_path: "hw",
diff --git a/1.1/Android.bp b/1.1/Android.bp
index 753f922..4e9a678 100644
--- a/1.1/Android.bp
+++ b/1.1/Android.bp
@@ -12,6 +12,15 @@
// 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 {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "hardware_st_secure_element_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["hardware_st_secure_element_license"],
+}
+
cc_binary {
name: "android.hardware.secure_element@1.1-service.st",
defaults: ["hidl_defaults"],
diff --git a/1.2/Android.bp b/1.2/Android.bp
index 2ac911d..8a9b7f8 100644
--- a/1.2/Android.bp
+++ b/1.2/Android.bp
@@ -12,6 +12,15 @@
// 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 {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "hardware_st_secure_element_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["hardware_st_secure_element_license"],
+}
+
cc_binary {
name: "android.hardware.secure_element@1.2-service.st",
defaults: ["hidl_defaults"],
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..b8e7f2f
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,31 @@
+//
+// 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: ["hardware_st_secure_element_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "hardware_st_secure_element_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
diff --git a/ese-spi-driver/Android.bp b/ese-spi-driver/Android.bp
index 3cc9ebc..6503586 100644
--- a/ese-spi-driver/Android.bp
+++ b/ese-spi-driver/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_st_secure_element_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["hardware_st_secure_element_license"],
+}
+
cc_library_shared {
name: "ese_spi_st",