Snap for 7478067 from 4c115621d133a907ca6ecd737b9541b37498fdd8 to mainline-ipsec-release
Change-Id: I972629033a4305549ec8eddda9d15af22e797b7f
diff --git a/Android.bp b/Android.bp
index 3d15039..57cf658 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,7 @@
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
subdirs = [
"client",
"core",
diff --git a/client/Android.bp b/client/Android.bp
index c430efe..e114787 100644
--- a/client/Android.bp
+++ b/client/Android.bp
@@ -14,6 +14,10 @@
// limitations under the License.
//
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
cc_binary {
name: "nvram-client",
srcs: ["nvram_client.c"],
diff --git a/core/Android.bp b/core/Android.bp
index bf6d343..29c2505 100644
--- a/core/Android.bp
+++ b/core/Android.bp
@@ -14,6 +14,10 @@
// limitations under the License.
//
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
subdirs = [
"tests",
]
diff --git a/core/tests/Android.bp b/core/tests/Android.bp
index d31ffe7..cc1d3d1 100644
--- a/core/tests/Android.bp
+++ b/core/tests/Android.bp
@@ -14,6 +14,10 @@
// limitations under the License.
//
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
cc_test_host {
name: "libnvram-core-tests",
srcs: [
diff --git a/hal/Android.bp b/hal/Android.bp
index 4f47024..0a69943 100644
--- a/hal/Android.bp
+++ b/hal/Android.bp
@@ -14,6 +14,10 @@
// limitations under the License.
//
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
subdirs = [
"tests",
]
diff --git a/hal/tests/Android.bp b/hal/tests/Android.bp
index 28d9adf..79b67fd 100644
--- a/hal/tests/Android.bp
+++ b/hal/tests/Android.bp
@@ -14,6 +14,10 @@
// nvram_hal_test
// ========================================================
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
cc_test {
name: "nvram_hal_test",
diff --git a/messages/Android.bp b/messages/Android.bp
index 88aa842..49e787f 100644
--- a/messages/Android.bp
+++ b/messages/Android.bp
@@ -14,6 +14,10 @@
// limitations under the License.
//
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
subdirs = [
"tests",
]
@@ -36,4 +40,3 @@
export_include_dirs: ["include"],
static_libs: ["libbase"],
}
-
diff --git a/messages/tests/Android.bp b/messages/tests/Android.bp
index a65300f..6ada96c 100644
--- a/messages/tests/Android.bp
+++ b/messages/tests/Android.bp
@@ -14,6 +14,10 @@
// limitations under the License.
//
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
cc_test_host {
name: "libnvram-messages-tests",
srcs: [