| package { | |
| default_applicable_licenses: ["external_python_jinja_license"], | |
| } | |
| // Added automatically by a large-scale-change | |
| // See: http://go/android-license-faq | |
| license { | |
| name: "external_python_jinja_license", | |
| visibility: [":__subpackages__"], | |
| license_kinds: [ | |
| "SPDX-license-identifier-BSD", | |
| ], | |
| license_text: [ | |
| "LICENSE.rst", | |
| ], | |
| } | |
| 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, | |
| }, | |
| }, | |
| } |