aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruael <uael@google.com>2023-02-17 16:43:17 +0000
committeruael <uael@google.com>2023-02-23 21:14:00 +0000
commit163cb21436968cc3cab734011bab0f0a0c8e06a9 (patch)
tree377e28c98871b46730ff88f120bf17a8007fe81e
parentcb4c0971bc09a78990b01d9e5721807f286fe1e0 (diff)
downloadpyee-163cb21436968cc3cab734011bab0f0a0c8e06a9.tar.gz
Add build files for pyee
Test: None Change-Id: I693df96fcc1d8a73f99136760bb6f0a1da78fb3a
-rw-r--r--Android.bp39
1 files changed, 39 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..33439fa
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,39 @@
+//
+// Copyright (C) 2022 The Android Open Source Project
+//
+// 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.
+
+package {
+ default_applicable_licenses: ["external_python_pyee_license"],
+}
+
+license {
+ name: "external_python_pyee_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-MIT",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
+python_library_host {
+ name: "pyee",
+ srcs: [
+ "pyee/*.py",
+ ],
+ libs: [
+ "typing_extensions",
+ ],
+}