Snap for 7550930 from 9373c1cf621baaed96450e696ee49f29ffe82de3 to mainline-resolv-release

Change-Id: If28c0180b51c515c6de4e552359b612bb896223b
diff --git a/Android.bp b/Android.bp
index 3d2a908..0d71a1a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,6 +12,23 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
+package {
+    default_applicable_licenses: ["external_apache-http_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+    name: "external_apache-http_license",
+    visibility: [":__subpackages__"],
+    license_kinds: [
+        "SPDX-license-identifier-Apache-2.0",
+    ],
+    license_text: [
+        "NOTICE",
+    ],
+}
+
 filegroup {
     name: "org.apache.http.legacy.sources",
     srcs: ["src/**/*.java"],
@@ -88,6 +105,7 @@
         // See http://b/119021844 for more details.
         "--subtract-api $(location :frameworks-base-api-current.txt)",
     ],
+    dist_group: "android",
 }
 
 // Make the current.txt available for use by the cts/tests/signature tests.
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
+}