Snap for 6981242 from 72badb3fe96d58f4495589b7256d3ca9e1fdce96 to mainline-release

Change-Id: I2cf72ca40d85aa206a41503b3d75521967ebea75
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
+}
diff --git a/api/Android.bp b/api/Android.bp
new file mode 100644
index 0000000..003a4de
--- /dev/null
+++ b/api/Android.bp
@@ -0,0 +1,31 @@
+// Copyright (C) 2020 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+//
+
+java_library_host {
+    name: "opencensus-java-api",
+    srcs: [
+        "src/main/java/**/*.java",
+    ],
+    plugins: [
+        "dagger2-auto-value",
+    ],
+    libs: [
+        "error_prone_annotations",
+        "dagger2-auto-value",
+        "grpc-java-context",
+        "jsr305",
+    ],
+}
diff --git a/contrib/grpc_metrics/Android.bp b/contrib/grpc_metrics/Android.bp
new file mode 100644
index 0000000..9d04518
--- /dev/null
+++ b/contrib/grpc_metrics/Android.bp
@@ -0,0 +1,26 @@
+// Copyright (C) 2020 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+//
+
+java_library_host {
+    name: "opencensus-java-contrib-grpc-metrics",
+    srcs: [
+        "src/main/java/**/*.java",
+    ],
+    libs: [
+        "opencensus-java-api",
+        "guava",
+    ],
+}