[LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Virtualization
Added SPDX-license-identifier-Apache-2.0 to:
apex/Android.bp
authfs/Android.bp
microdroid/Android.bp
tests/hostside/Android.bp
tests/hostside/native/init/Android.bp
tests/hostside/native/vsock/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ibcf7d8fbfaee8efb100d765f8c7dbde819ffb621
diff --git a/apex/Android.bp b/apex/Android.bp
index ef4c0f5..d6dda13 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -1,3 +1,7 @@
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
apex {
name: "com.android.virt",
diff --git a/authfs/Android.bp b/authfs/Android.bp
index af1f13d..270be6e 100644
--- a/authfs/Android.bp
+++ b/authfs/Android.bp
@@ -1,3 +1,7 @@
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
rust_defaults {
name: "authfs_defaults",
crate_name: "authfs",
diff --git a/microdroid/Android.bp b/microdroid/Android.bp
index 526be7d..3035cd1 100644
--- a/microdroid/Android.bp
+++ b/microdroid/Android.bp
@@ -1,3 +1,7 @@
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
android_filesystem {
name: "microdroid",
use_avb: true,
diff --git a/tests/hostside/Android.bp b/tests/hostside/Android.bp
index fb6ea51..63b3a3d 100644
--- a/tests/hostside/Android.bp
+++ b/tests/hostside/Android.bp
@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
kernel_version = "5.10"
kernel_target_stem = ":kernel_prebuilts-" + kernel_version
diff --git a/tests/hostside/native/init/Android.bp b/tests/hostside/native/init/Android.bp
index a98948b..4934a6d 100644
--- a/tests/hostside/native/init/Android.bp
+++ b/tests/hostside/native/init/Android.bp
@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
cc_binary {
name: "virt_hostside_tests_guest_init",
srcs: ["main.cc"],
diff --git a/tests/hostside/native/vsock/Android.bp b/tests/hostside/native/vsock/Android.bp
index cbee98d..13b46d5 100644
--- a/tests/hostside/native/vsock/Android.bp
+++ b/tests/hostside/native/vsock/Android.bp
@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
cc_test {
name: "virt_hostside_tests_vsock_server",
srcs: ["server.cc"],