Merge commit 'ae733129' into oauth2client v3.0.0
Initial commitcd of oauth2client v3.0.0 with history.
Added:
- Android.bp
- MODULE_LICENSE_APACHE2
- NOTICE
- METADATA
Bug: b/80314772
Test: pip uninstall oauth2client and complied acloud.
Change-Id: Id17fea7b8b7bbe6e28a208a37cbfe509bc7a6af4
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..6a258aa
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,16 @@
+name: "oauth2client"
+description:
+ "This is a client library for accessing resources protected by OAuth 2.0."
+
+third_party {
+ url {
+ type: HOMEPAGE
+ value: "https://pypi.org/project/oauth2client"
+ }
+ url {
+ type: GIT
+ value: "https://github.com/google/oauth2client"
+ }
+ version: "v3.0.0"
+ last_upgrade_date { year: 2018 month: 6 day: 6 }
+}
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 120000
index 0000000..7a694c9
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1 @@
+LICENSE
\ No newline at end of file
diff --git a/oauth2client/Android.bp b/oauth2client/Android.bp
new file mode 100644
index 0000000..7818920
--- /dev/null
+++ b/oauth2client/Android.bp
@@ -0,0 +1,38 @@
+// Copyright 2018 Google Inc. All rights reserved.
+//
+// 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.
+python_library {
+ name: "py-oauth2client",
+ host_supported: true,
+ srcs: [
+ "*.py",
+ "contrib/*.py",
+ "contrib/django_util/*.py",
+ ],
+ version: {
+ py2: {
+ enabled: true,
+ },
+ py3: {
+ enabled: true,
+ },
+ },
+ libs: [
+ "py-httplib2",
+ "py-pyasn1",
+ "py-pyasn1-modules",
+ "py-rsa",
+ "py-six",
+ ],
+ pkg_path: "oauth2client",
+}