1package { 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 7license { 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 18python_library { 19 name: "py2-jinja", 20 host_supported: true, 21 srcs: ["src/jinja2/*.py"], 22 exclude_srcs: ["src/jinja2/async*.py"], 23 libs: [ 24 "py-markupsafe", 25 "py-setuptools", 26 ], 27 version: { 28 py2: { 29 enabled: true, 30 }, 31 py3: { 32 enabled: false, 33 }, 34 }, 35} 36 37python_library { 38 name: "py-jinja", 39 host_supported: true, 40 srcs: ["src/jinja2/*.py"], 41 libs: [ 42 "py-markupsafe", 43 "py-setuptools", 44 ], 45 version: { 46 py2: { 47 enabled: false, 48 }, 49 py3: { 50 enabled: true, 51 }, 52 }, 53} 54