Bob Badour | a3d456e | 2021-03-01 21:25:52 -0800 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["external_python_jinja_license"], |
| 3 | } |
| 4 | |
| 5 | // Added automatically by a large-scale-change |
| 6 | // See: http://go/android-license-faq |
| 7 | license { |
| 8 | name: "external_python_jinja_license", |
| 9 | visibility: [":__subpackages__"], |
| 10 | license_kinds: [ |
| 11 | "SPDX-license-identifier-BSD", |
| 12 | ], |
| 13 | license_text: [ |
| 14 | "LICENSE.rst", |
| 15 | ], |
| 16 | } |
| 17 | |
IRIS YANG | f804419 | 2020-09-10 02:51:08 +0000 | [diff] [blame] | 18 | python_library { |
IRIS YANG | f804419 | 2020-09-10 02:51:08 +0000 | [diff] [blame] | 19 | name: "py-jinja", |
| 20 | host_supported: true, |
| 21 | srcs: ["src/jinja2/*.py"], |
| 22 | libs: [ |
| 23 | "py-markupsafe", |
| 24 | "py-setuptools", |
| 25 | ], |
| 26 | version: { |
| 27 | py2: { |
| 28 | enabled: false, |
| 29 | }, |
| 30 | py3: { |
| 31 | enabled: true, |
| 32 | }, |
| 33 | }, |
| 34 | } |