diff options
author | IRIS YANG <irisykyang@google.com> | 2020-09-10 02:51:08 +0000 |
---|---|---|
committer | IRIS YANG <irisykyang@google.com> | 2020-09-10 02:57:05 +0000 |
commit | f80441997a1a3c81706684f443bc6b4b86b44ed8 (patch) | |
tree | b9007f1d03c63669af659069ac0563cfdc27febb | |
parent | f38f5e61f29c42ddd912bc161fc4303e7339bc6d (diff) | |
download | jinja-f80441997a1a3c81706684f443bc6b4b86b44ed8.tar.gz |
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
-rw-r--r-- | Android.bp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 00000000..bfda7c69 --- /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, + }, + }, +} |