Add OWNERS, NOTICE, METADATA and MODULE_LICENSE files. Also add an am: 5667fb2ba1 am: ed41405324 am: dd36822a57

Original change: https://android-review.googlesource.com/c/platform/external/MPAndroidChart/+/2278086

Change-Id: I71caf158a07f42489e1491f64d1835ba895fe5c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..e303dcf
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,41 @@
+package {
+    default_applicable_licenses: ["external_MPAndroidChart_license"],
+}
+
+// Added automatically by a large-scale-change that took the approach of
+// 'apply every license found to every target'. While this makes sure we respect
+// every license restriction, it may not be entirely correct.
+//
+// e.g. GPL in an MIT project might only apply to the contrib/ directory.
+//
+// Please consider splitting the single license below into multiple licenses,
+// taking care not to lose any license_kind information, and overriding the
+// default license using the 'licenses: [...]' property on targets as needed.
+//
+// For unused files, consider creating a 'fileGroup' with "//visibility:private"
+// to attach the license to, and including a comment whether the files may be
+// used in the current project.
+// See: http://go/android-license-faq
+license {
+    name: "external_MPAndroidChart_license",
+    visibility: [":__subpackages__"],
+    license_kinds: [
+        "SPDX-license-identifier-Apache-2.0",
+    ],
+    license_text: [
+        "LICENSE",
+    ],
+}
+
+android_library {
+    name: "MPAndroidChart",
+    srcs: [
+        "MPChartLib/src/main/java/**/*.java",
+    ],
+    static_libs: [
+        "androidx.annotation_annotation",
+    ],
+    manifest: "MPChartLib/src/main/AndroidManifest.xml",
+    sdk_version: "33",
+    min_sdk_version: "21",
+}
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..9760cd2
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,12 @@
+name: "MPAndroidChart"
+description: "A powerful & easy to use chart library for Android"
+
+third_party {
+  url {
+    type: GIT
+    value: "https://github.com/PhilJay/MPAndroidChart"
+  }
+  version: "v3.1.0"
+  last_upgrade_date { year: 2022 month: 11 day: 1 }
+  license_type: NOTICE
+}
diff --git a/MODULE_LICENSE_APACHE2 b/MODULE_LICENSE_APACHE2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_APACHE2
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..c1551a9
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,13 @@
+   Copyright 2020 Philipp Jahoda
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this software 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.
diff --git a/OWNERS b/OWNERS
new file mode 100644
index 0000000..96045ad
--- /dev/null
+++ b/OWNERS
@@ -0,0 +1,4 @@
+hanxu@google.com
+pierreqian@google.com
+chaohuiw@google.com
+kellyz@google.com