1python_binary_host { 2 name: "manifest_fixer", 3 main: "manifest_fixer.py", 4 srcs: [ 5 "manifest_fixer.py", 6 ], 7 version: { 8 py2: { 9 enabled: true, 10 }, 11 py3: { 12 enabled: false, 13 }, 14 }, 15 libs: [ 16 "manifest_utils", 17 ], 18} 19 20python_test_host { 21 name: "manifest_fixer_test", 22 main: "manifest_fixer_test.py", 23 srcs: [ 24 "manifest_fixer_test.py", 25 "manifest_fixer.py", 26 ], 27 version: { 28 py2: { 29 enabled: true, 30 }, 31 py3: { 32 enabled: false, 33 }, 34 }, 35 libs: [ 36 "manifest_utils", 37 ], 38 test_suites: ["general-tests"], 39} 40 41python_library_host { 42 name: "manifest_utils", 43 srcs: [ 44 "manifest.py", 45 ], 46 version: { 47 py2: { 48 enabled: true, 49 }, 50 py3: { 51 enabled: false, 52 }, 53 }, 54} 55 56python_binary_host { 57 name: "manifest_check", 58 main: "manifest_check.py", 59 srcs: [ 60 "manifest_check.py", 61 ], 62 version: { 63 py2: { 64 enabled: true, 65 }, 66 py3: { 67 enabled: false, 68 }, 69 }, 70 libs: [ 71 "manifest_utils", 72 ], 73} 74 75python_test_host { 76 name: "manifest_check_test", 77 main: "manifest_check_test.py", 78 srcs: [ 79 "manifest_check_test.py", 80 "manifest_check.py", 81 ], 82 version: { 83 py2: { 84 enabled: true, 85 }, 86 py3: { 87 enabled: false, 88 }, 89 }, 90 libs: [ 91 "manifest_utils", 92 ], 93 test_suites: ["general-tests"], 94} 95 96python_binary_host { 97 name: "jsonmodify", 98 main: "jsonmodify.py", 99 srcs: [ 100 "jsonmodify.py", 101 ], 102 version: { 103 py2: { 104 enabled: true, 105 }, 106 py3: { 107 enabled: false, 108 }, 109 }, 110} 111 112python_binary_host { 113 name: "test_config_fixer", 114 main: "test_config_fixer.py", 115 srcs: [ 116 "test_config_fixer.py", 117 ], 118 version: { 119 py2: { 120 enabled: true, 121 }, 122 py3: { 123 enabled: false, 124 }, 125 }, 126 libs: [ 127 "manifest_utils", 128 ], 129} 130 131python_test_host { 132 name: "test_config_fixer_test", 133 main: "test_config_fixer_test.py", 134 srcs: [ 135 "test_config_fixer_test.py", 136 "test_config_fixer.py", 137 ], 138 version: { 139 py2: { 140 enabled: true, 141 }, 142 py3: { 143 enabled: false, 144 }, 145 }, 146 libs: [ 147 "manifest_utils", 148 ], 149 test_suites: ["general-tests"], 150} 151 152python_binary_host { 153 name: "construct_context", 154 main: "construct_context.py", 155 srcs: [ 156 "construct_context.py", 157 ], 158 version: { 159 py2: { 160 enabled: true, 161 }, 162 py3: { 163 enabled: false, 164 }, 165 }, 166 libs: [ 167 "manifest_utils", 168 ], 169} 170 171python_test_host { 172 name: "construct_context_test", 173 main: "construct_context_test.py", 174 srcs: [ 175 "construct_context_test.py", 176 "construct_context.py", 177 ], 178 version: { 179 py2: { 180 enabled: true, 181 }, 182 py3: { 183 enabled: false, 184 }, 185 }, 186 libs: [ 187 "manifest_utils", 188 ], 189 test_suites: ["general-tests"], 190} 191 192python_binary_host { 193 name: "lint-project-xml", 194 main: "lint-project-xml.py", 195 srcs: [ 196 "lint-project-xml.py", 197 "ninja_rsp.py", 198 ], 199} 200 201python_binary_host { 202 name: "gen-kotlin-build-file.py", 203 main: "gen-kotlin-build-file.py", 204 srcs: [ 205 "gen-kotlin-build-file.py", 206 "ninja_rsp.py", 207 ], 208} 209