1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5python_defaults { 6 name: "treble_split_default", 7 pkg_path: "treble/split", 8 libs: [ 9 "py-setuptools", 10 ], 11} 12 13python_binary_host { 14 name: "treble_manifest_split", 15 main: "manifest_split.py", 16 defaults: ["treble_split_default"], 17 srcs: [ 18 "manifest_split.py", 19 ], 20 data: [ 21 "default_config.xml", 22 ], 23 version: { 24 py3: { 25 embedded_launcher: true, 26 }, 27 }, 28} 29 30python_library_host { 31 name: "treble_xml_diff", 32 defaults: ["treble_split_default"], 33 srcs: [ 34 "xml_diff.py", 35 ], 36} 37 38python_binary_host { 39 name: "treble_manifest_diff", 40 main: "manifest_diff.py", 41 defaults: ["treble_split_default"], 42 srcs: [ 43 "manifest_diff.py", 44 ], 45 libs: [ 46 "treble_xml_diff", 47 ], 48} 49 50python_test_host { 51 name: "treble_manifest_split_test", 52 main: "test.py", 53 defaults: ["treble_split_default"], 54 srcs: [ 55 "manifest_diff.py", 56 "manifest_diff_test.py", 57 "manifest_split.py", 58 "manifest_split_test.py", 59 "test.py", 60 "xml_diff.py", 61 "xml_diff_test.py", 62 ], 63 test_config: "test.xml", 64 test_suites: ["general-tests"], 65} 66