aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:05:23 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:05:23 +0000
commitaee6657a85e56f4c7b3ae8adbcd7b104abbc0a58 (patch)
tree2bca6eab73099db857f6d0e7ddb004f719f2c36f
parent4a848e3ae5b84cd7434a49e09e6fae5f1d3bced5 (diff)
parentcab742f1a655edb5d88edd10de800427c3d12ea9 (diff)
downloadjinja-android14-mainline-permission-release.tar.gz
Change-Id: Ia648c80ff146d2f9e54cdee8e53df1716f745599
-rw-r--r--Android.bp18
-rw-r--r--src/Android.bp13
2 files changed, 13 insertions, 18 deletions
diff --git a/Android.bp b/Android.bp
index a79f39a..6bfae8d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -14,21 +14,3 @@ license {
"LICENSE.rst",
],
}
-
-python_library {
- name: "py-jinja",
- host_supported: true,
- srcs: ["src/jinja2/*.py"],
- libs: [
- "py-markupsafe",
- "py-setuptools",
- ],
- version: {
- py2: {
- enabled: false,
- },
- py3: {
- enabled: true,
- },
- },
-}
diff --git a/src/Android.bp b/src/Android.bp
new file mode 100644
index 0000000..e8a5e50
--- /dev/null
+++ b/src/Android.bp
@@ -0,0 +1,13 @@
+package {
+ default_applicable_licenses: ["external_python_jinja_license"],
+}
+
+python_library {
+ name: "py-jinja",
+ host_supported: true,
+ srcs: ["jinja2/*.py"],
+ libs: [
+ "py-markupsafe",
+ "py-setuptools",
+ ],
+}