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