aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:53:21 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:53:21 +0000
commit067ab8c65cfea48f31ece68c56c9f22f61bab33d (patch)
tree2bca6eab73099db857f6d0e7ddb004f719f2c36f
parenta775942613b2c2105b778c51751f3bec4b604488 (diff)
parentcab742f1a655edb5d88edd10de800427c3d12ea9 (diff)
downloadjinja-067ab8c65cfea48f31ece68c56c9f22f61bab33d.tar.gz
Change-Id: I6e9ab4692513966c2c37ae8b5474ec540d7305fd
-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 a79f39a2..6bfae8d4 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 00000000..e8a5e504
--- /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",
+ ],
+}