1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
package { default_applicable_licenses: ["Android-Apache-2.0"], } python_library_host { name: "fetcher-lib", srcs: [ "fetcher_lib.py" ], pkg_path: "treble/fetcher", libs: [ "py-google-api-python-client", "py-oauth2client", "py-six", ], } python_binary_host { name: "fetcher", main: "fetcher.py", srcs: [ "fetcher.py", ], libs: [ "fetcher-lib", ], }