Snap for 7547121 from f5396362d5ee4eb152d126cbce68c65410b8a030 to mainline-permission-release

Change-Id: Ib0ab16b8e68e98f30c69dd2f105ed929644db75d
diff --git a/Android.bp b/Android.bp
index 169767d..a2eddc0 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,7 +12,25 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
+package {
+    default_applicable_licenses: ["external_jsilver_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+    name: "external_jsilver_license",
+    visibility: [":__subpackages__"],
+    license_kinds: [
+        "SPDX-license-identifier-Apache-2.0",
+    ],
+    license_text: [
+        "NOTICE",
+    ],
+}
+
 java_library_host {
+    java_version: "1.8",
     name: "jsilver",
     srcs: ["src/**/*.java"],
     libs: ["guava"],
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..d97975c
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,3 @@
+third_party {
+  license_type: NOTICE
+}