Revert^2 "Add build rule for jinja lib."
The markupsafe lib wasn't in the master-without-vendor branch due to
there is merge conflict master -> master-without-vendor that has not
been resolved. But markupsafe is merged in master-without-vendor branch
now. ag/12545538. So add the build rule back.
Change-Id: I68808b64c36f7c66081e998d15aaabbad7218ec9
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..bfda7c6
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,36 @@
+python_library {
+ name: "py2-jinja",
+ host_supported: true,
+ srcs: ["src/jinja2/*.py"],
+ exclude_srcs: ["src/jinja2/async*.py"],
+ libs: [
+ "py-markupsafe",
+ "py-setuptools",
+ ],
+ version: {
+ py2: {
+ enabled: true,
+ },
+ py3: {
+ enabled: false,
+ },
+ },
+}
+
+python_library {
+ name: "py-jinja",
+ host_supported: true,
+ srcs: ["src/jinja2/*.py"],
+ libs: [
+ "py-markupsafe",
+ "py-setuptools",
+ ],
+ version: {
+ py2: {
+ enabled: false,
+ },
+ py3: {
+ enabled: true,
+ },
+ },
+}