Merge commit '488110c' into import
Initial commit of apitools 0.5.11.
Added:
- Android.bp
- METADATA
- NOTICE (symlink of LICENSE)
- MODULE_LICENSE_APACHE2
Bug: 80314772
Test: not yet
Change-Id: I423d3dd04de841a45ff9e7e3d254e99d8d92e9c4
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..97042dd
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,17 @@
+name: "apitools"
+description:
+ "google-apitools is a collection of utilities to make it easier to build "
+ "client-side tools, especially those that talk to Google APIs."
+
+third_party {
+ url {
+ type: HOMEPAGE
+ value: "https://github.com/google/apitools"
+ }
+ url {
+ type: GIT
+ value: "https://github.com/google/apitools"
+ }
+ version: "0.5.11"
+ last_upgrade_date { year: 2018 month: 6 day: 5 }
+}
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/apitools/Android.bp b/apitools/Android.bp
new file mode 100644
index 0000000..67dd2b6
--- /dev/null
+++ b/apitools/Android.bp
@@ -0,0 +1,39 @@
+// 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-apitools",
+ host_supported: true,
+ srcs: [
+ "*.py",
+ "base/*.py",
+ "base/py/*.py",
+ "gen/*.py",
+ "scripts/*.py",
+ ],
+ version: {
+ py2: {
+ enabled: true,
+ },
+ py3: {
+ enabled: true,
+ },
+ },
+ libs: [
+ "py-httplib2",
+ "py-oauth2client",
+ "py-six",
+ ],
+ pkg_path: "apitools",
+}
+