Colin Cross | 4af387c | 2019-05-16 13:16:29 -0700 | [diff] [blame] | 1 | python_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 | }, |
Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 15 | libs: [ |
| 16 | "manifest_utils", |
| 17 | ], |
Colin Cross | 4af387c | 2019-05-16 13:16:29 -0700 | [diff] [blame] | 18 | } |
| 19 | |
| 20 | python_test_host { |
| 21 | name: "manifest_fixer_test", |
| 22 | main: "manifest_fixer_test.py", |
| 23 | srcs: [ |
| 24 | "manifest_fixer_test.py", |
| 25 | "manifest_fixer.py", |
Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 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 | |
| 41 | python_library_host { |
| 42 | name: "manifest_utils", |
| 43 | srcs: [ |
Colin Cross | 7211910 | 2019-05-20 13:14:18 -0700 | [diff] [blame] | 44 | "manifest.py", |
| 45 | ], |
| 46 | version: { |
| 47 | py2: { |
| 48 | enabled: true, |
| 49 | }, |
| 50 | py3: { |
| 51 | enabled: false, |
| 52 | }, |
| 53 | }, |
Colin Cross | 7211910 | 2019-05-20 13:14:18 -0700 | [diff] [blame] | 54 | } |
| 55 | |
| 56 | python_binary_host { |
| 57 | name: "manifest_check", |
| 58 | main: "manifest_check.py", |
| 59 | srcs: [ |
| 60 | "manifest_check.py", |
Colin Cross | 7211910 | 2019-05-20 13:14:18 -0700 | [diff] [blame] | 61 | ], |
| 62 | version: { |
| 63 | py2: { |
| 64 | enabled: true, |
| 65 | }, |
| 66 | py3: { |
| 67 | enabled: false, |
| 68 | }, |
| 69 | }, |
Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 70 | libs: [ |
| 71 | "manifest_utils", |
| 72 | ], |
Colin Cross | 7211910 | 2019-05-20 13:14:18 -0700 | [diff] [blame] | 73 | } |
| 74 | |
| 75 | python_test_host { |
| 76 | name: "manifest_check_test", |
| 77 | main: "manifest_check_test.py", |
| 78 | srcs: [ |
| 79 | "manifest_check_test.py", |
| 80 | "manifest_check.py", |
Colin Cross | 4af387c | 2019-05-16 13:16:29 -0700 | [diff] [blame] | 81 | ], |
| 82 | version: { |
| 83 | py2: { |
| 84 | enabled: true, |
| 85 | }, |
| 86 | py3: { |
| 87 | enabled: false, |
| 88 | }, |
| 89 | }, |
Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 90 | libs: [ |
| 91 | "manifest_utils", |
| 92 | ], |
Colin Cross | 4af387c | 2019-05-16 13:16:29 -0700 | [diff] [blame] | 93 | test_suites: ["general-tests"], |
| 94 | } |
Jooyung Han | 04329f1 | 2019-08-01 23:35:08 +0900 | [diff] [blame] | 95 | |
| 96 | python_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 | } |
Jaewoong Jung | e5cd4e1 | 2019-11-22 14:34:55 -0800 | [diff] [blame] | 111 | |
| 112 | python_binary_host { |
| 113 | name: "test_config_fixer", |
| 114 | main: "test_config_fixer.py", |
| 115 | srcs: [ |
| 116 | "test_config_fixer.py", |
Jaewoong Jung | e5cd4e1 | 2019-11-22 14:34:55 -0800 | [diff] [blame] | 117 | ], |
| 118 | version: { |
| 119 | py2: { |
| 120 | enabled: true, |
| 121 | }, |
| 122 | py3: { |
| 123 | enabled: false, |
| 124 | }, |
| 125 | }, |
Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 126 | libs: [ |
| 127 | "manifest_utils", |
| 128 | ], |
Jaewoong Jung | e5cd4e1 | 2019-11-22 14:34:55 -0800 | [diff] [blame] | 129 | } |
| 130 | |
| 131 | python_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", |
Jaewoong Jung | e5cd4e1 | 2019-11-22 14:34:55 -0800 | [diff] [blame] | 137 | ], |
| 138 | version: { |
| 139 | py2: { |
| 140 | enabled: true, |
| 141 | }, |
| 142 | py3: { |
| 143 | enabled: false, |
| 144 | }, |
| 145 | }, |
Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 146 | libs: [ |
| 147 | "manifest_utils", |
| 148 | ], |
Jaewoong Jung | e5cd4e1 | 2019-11-22 14:34:55 -0800 | [diff] [blame] | 149 | test_suites: ["general-tests"], |
Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 150 | } |
Colin Cross | 014489c | 2020-06-02 20:09:13 -0700 | [diff] [blame^] | 151 | |
| 152 | python_binary_host { |
| 153 | name: "lint-project-xml", |
| 154 | main: "lint-project-xml.py", |
| 155 | srcs: ["lint-project-xml.py"], |
| 156 | } |