[LSC] Add LOCAL_LICENSE_KINDS to system/libfmq

Added SPDX-license-identifier-Apache-2.0 to:
  Android.bp
  benchmarks/Android.mk
  tests/Android.bp
  tests/aidl/Android.bp
  tests/aidl/default/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I043a0e2fe50700613236eb5f3cd787c5a0137b7a
diff --git a/Android.bp b/Android.bp
index 915fbac..97050a1 100644
--- a/Android.bp
+++ b/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_library {
     name: "libfmq",
     shared_libs: [
diff --git a/benchmarks/Android.mk b/benchmarks/Android.mk
index 97c9a4b..3cae117 100644
--- a/benchmarks/Android.mk
+++ b/benchmarks/Android.mk
@@ -36,5 +36,6 @@
 
 LOCAL_SHARED_LIBRARIES += android.hardware.tests.msgq@1.0 libfmq
 LOCAL_MODULE := mq_benchmark_client
+LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
+LOCAL_LICENSE_CONDITIONS := notice
 include $(BUILD_NATIVE_TEST)
-
diff --git a/tests/Android.bp b/tests/Android.bp
index 1cfca76..ba68cd5 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -14,6 +14,10 @@
 // limitations under the License.
 //
 
+package {
+    default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
 python_test_host {
     name: "fmq_test",
     main: "fmq_test.py",
diff --git a/tests/aidl/Android.bp b/tests/aidl/Android.bp
index 45cebc3..c5010ce 100644
--- a/tests/aidl/Android.bp
+++ b/tests/aidl/Android.bp
@@ -1,3 +1,7 @@
+package {
+    default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
 aidl_interface {
     name: "android.fmq.test",
     host_supported: true,
diff --git a/tests/aidl/default/Android.bp b/tests/aidl/default/Android.bp
index 4e9456f..71a5533 100644
--- a/tests/aidl/default/Android.bp
+++ b/tests/aidl/default/Android.bp
@@ -1,3 +1,7 @@
+package {
+    default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
 cc_library_static {
     name: "android.fmq.test-impl",
     shared_libs: [