diff options
-rw-r--r-- | Android.bp | 41 | ||||
-rw-r--r-- | METADATA | 12 | ||||
-rw-r--r-- | MODULE_LICENSE_APACHE2 | 0 | ||||
-rw-r--r-- | NOTICE | 13 | ||||
-rw-r--r-- | OWNERS | 4 |
5 files changed, 70 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 00000000..e303dcff --- /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 00000000..9760cd23 --- /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 00000000..e69de29b --- /dev/null +++ b/MODULE_LICENSE_APACHE2 @@ -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. @@ -0,0 +1,4 @@ +hanxu@google.com +pierreqian@google.com +chaohuiw@google.com +kellyz@google.com |