Snap for 7183507 from e1354786b47dc1442480716a837f38b47e86e554 to sdk-release
Change-Id: I3702ff63cd5e517767dad9eb29ab53f9bd67726b
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: [