aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:04:05 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:04:05 +0000
commitf8624ac9672cdf8d4fa7258f05bbf28421e89de0 (patch)
tree2bca6eab73099db857f6d0e7ddb004f719f2c36f
parent292c8510a75e03ec1a7bd50a7b69fe1190daf222 (diff)
parentcab742f1a655edb5d88edd10de800427c3d12ea9 (diff)
downloadjinja-android14-mainline-os-statsd-release.tar.gz
Change-Id: Idef61b1883080b1d127235c3f5ab819504b5f71f
-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",
+ ],
+}