Eric Boren | f7928b4 | 2017-07-28 07:35:28 -0400 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "cmd": [ |
| 4 | "python", |
| 5 | "-u", |
| 6 | "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" |
| 7 | ], |
| 8 | "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 9 | "env": { |
| 10 | "BUILDTYPE": "Release", |
| 11 | "CHROME_HEADLESS": "1", |
| 12 | "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", |
Eric Boren | bd2e1f1 | 2018-04-17 11:28:46 +0000 | [diff] [blame^] | 13 | "SKIA_OUT": "[START_DIR]/out" |
Eric Boren | f7928b4 | 2017-07-28 07:35:28 -0400 | [diff] [blame] | 14 | }, |
| 15 | "infra_step": true, |
| 16 | "name": "fetch-gn" |
| 17 | }, |
| 18 | { |
| 19 | "cmd": [ |
| 20 | "python", |
| 21 | "-u", |
| 22 | "[CUSTOM_/_B_WORK]/skia/bin/fetch-clang-format" |
| 23 | ], |
| 24 | "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 25 | "env": { |
| 26 | "BUILDTYPE": "Release", |
| 27 | "CHROME_HEADLESS": "1", |
| 28 | "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", |
Eric Boren | bd2e1f1 | 2018-04-17 11:28:46 +0000 | [diff] [blame^] | 29 | "SKIA_OUT": "[START_DIR]/out" |
Eric Boren | f7928b4 | 2017-07-28 07:35:28 -0400 | [diff] [blame] | 30 | }, |
| 31 | "infra_step": true, |
| 32 | "name": "fetch-clang-format" |
| 33 | }, |
| 34 | { |
| 35 | "cmd": [ |
| 36 | "[CUSTOM_/_B_WORK]/skia/bin/gn", |
| 37 | "gen", |
Eric Boren | bd2e1f1 | 2018-04-17 11:28:46 +0000 | [diff] [blame^] | 38 | "[START_DIR]/out/Release", |
Eric Boren | f7928b4 | 2017-07-28 07:35:28 -0400 | [diff] [blame] | 39 | "--args=is_debug=false skia_compile_processors=true" |
| 40 | ], |
| 41 | "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 42 | "env": { |
| 43 | "BUILDTYPE": "Release", |
| 44 | "CHROME_HEADLESS": "1", |
| 45 | "PATH": "[CUSTOM_/_B_WORK]/skia/bin:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", |
Eric Boren | bd2e1f1 | 2018-04-17 11:28:46 +0000 | [diff] [blame^] | 46 | "SKIA_OUT": "[START_DIR]/out" |
Eric Boren | f7928b4 | 2017-07-28 07:35:28 -0400 | [diff] [blame] | 47 | }, |
| 48 | "name": "gn gen" |
| 49 | }, |
| 50 | { |
| 51 | "cmd": [ |
| 52 | "ninja", |
Mike Klein | 7a13d87 | 2017-11-06 09:28:59 -0500 | [diff] [blame] | 53 | "-k", |
| 54 | "0", |
Eric Boren | f7928b4 | 2017-07-28 07:35:28 -0400 | [diff] [blame] | 55 | "-C", |
Eric Boren | bd2e1f1 | 2018-04-17 11:28:46 +0000 | [diff] [blame^] | 56 | "[START_DIR]/out/Release" |
Eric Boren | f7928b4 | 2017-07-28 07:35:28 -0400 | [diff] [blame] | 57 | ], |
| 58 | "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 59 | "env": { |
| 60 | "BUILDTYPE": "Release", |
| 61 | "CHROME_HEADLESS": "1", |
| 62 | "PATH": "[CUSTOM_/_B_WORK]/skia/bin:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", |
Eric Boren | bd2e1f1 | 2018-04-17 11:28:46 +0000 | [diff] [blame^] | 63 | "SKIA_OUT": "[START_DIR]/out" |
Eric Boren | f7928b4 | 2017-07-28 07:35:28 -0400 | [diff] [blame] | 64 | }, |
| 65 | "name": "ninja" |
| 66 | }, |
| 67 | { |
| 68 | "cmd": [ |
| 69 | "python", |
| 70 | "-u", |
| 71 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 72 | "--json-output", |
| 73 | "/path/to/tmp/json", |
| 74 | "rmtree", |
| 75 | "results_dir" |
| 76 | ], |
| 77 | "infra_step": true, |
| 78 | "name": "rmtree results_dir" |
| 79 | }, |
| 80 | { |
| 81 | "cmd": [ |
| 82 | "python", |
| 83 | "-u", |
| 84 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 85 | "--json-output", |
| 86 | "/path/to/tmp/json", |
| 87 | "ensure-directory", |
| 88 | "--mode", |
| 89 | "0777", |
| 90 | "results_dir" |
| 91 | ], |
| 92 | "infra_step": true, |
| 93 | "name": "makedirs results_dir" |
| 94 | }, |
| 95 | { |
| 96 | "cmd": [ |
| 97 | "python", |
| 98 | "-u", |
| 99 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 100 | "--json-output", |
| 101 | "/path/to/tmp/json", |
| 102 | "rmtree", |
| 103 | "device_results_dir" |
| 104 | ], |
| 105 | "infra_step": true, |
| 106 | "name": "rmtree device_results_dir" |
| 107 | }, |
| 108 | { |
| 109 | "cmd": [ |
| 110 | "python", |
| 111 | "-u", |
| 112 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 113 | "--json-output", |
| 114 | "/path/to/tmp/json", |
| 115 | "ensure-directory", |
| 116 | "--mode", |
| 117 | "0777", |
| 118 | "device_results_dir" |
| 119 | ], |
| 120 | "infra_step": true, |
| 121 | "name": "makedirs device_results_dir" |
| 122 | }, |
| 123 | { |
| 124 | "cmd": [ |
| 125 | "python", |
| 126 | "-u", |
| 127 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 128 | "--json-output", |
| 129 | "/path/to/tmp/json", |
| 130 | "copy", |
| 131 | "[CUSTOM_/_B_WORK]/skia/infra/bots/assets/skp/VERSION", |
| 132 | "/path/to/tmp/" |
| 133 | ], |
| 134 | "infra_step": true, |
Ben Wagner | f20710e | 2018-03-19 16:52:37 -0400 | [diff] [blame] | 135 | "name": "Get skp VERSION" |
Eric Boren | f7928b4 | 2017-07-28 07:35:28 -0400 | [diff] [blame] | 136 | }, |
| 137 | { |
| 138 | "cmd": [ |
| 139 | "python", |
| 140 | "-u", |
| 141 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 142 | "--json-output", |
| 143 | "/path/to/tmp/json", |
| 144 | "copy", |
| 145 | "42", |
| 146 | "[START_DIR]/tmp/SKP_VERSION" |
| 147 | ], |
| 148 | "infra_step": true, |
| 149 | "name": "write SKP_VERSION" |
| 150 | }, |
| 151 | { |
| 152 | "cmd": [ |
| 153 | "python", |
| 154 | "-u", |
| 155 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 156 | "--json-output", |
| 157 | "/path/to/tmp/json", |
| 158 | "copy", |
| 159 | "[CUSTOM_/_B_WORK]/skia/infra/bots/assets/skimage/VERSION", |
| 160 | "/path/to/tmp/" |
| 161 | ], |
| 162 | "infra_step": true, |
Ben Wagner | f20710e | 2018-03-19 16:52:37 -0400 | [diff] [blame] | 163 | "name": "Get skimage VERSION" |
Eric Boren | f7928b4 | 2017-07-28 07:35:28 -0400 | [diff] [blame] | 164 | }, |
| 165 | { |
| 166 | "cmd": [ |
| 167 | "python", |
| 168 | "-u", |
| 169 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 170 | "--json-output", |
| 171 | "/path/to/tmp/json", |
| 172 | "copy", |
| 173 | "42", |
| 174 | "[START_DIR]/tmp/SK_IMAGE_VERSION" |
| 175 | ], |
| 176 | "infra_step": true, |
| 177 | "name": "write SK_IMAGE_VERSION" |
| 178 | }, |
| 179 | { |
| 180 | "cmd": [ |
| 181 | "python", |
| 182 | "-u", |
| 183 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 184 | "--json-output", |
| 185 | "/path/to/tmp/json", |
| 186 | "copy", |
| 187 | "[CUSTOM_/_B_WORK]/skia/infra/bots/assets/svg/VERSION", |
| 188 | "/path/to/tmp/" |
| 189 | ], |
| 190 | "infra_step": true, |
Ben Wagner | f20710e | 2018-03-19 16:52:37 -0400 | [diff] [blame] | 191 | "name": "Get svg VERSION" |
Eric Boren | f7928b4 | 2017-07-28 07:35:28 -0400 | [diff] [blame] | 192 | }, |
| 193 | { |
| 194 | "cmd": [ |
| 195 | "python", |
| 196 | "-u", |
| 197 | "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 198 | "--json-output", |
| 199 | "/path/to/tmp/json", |
| 200 | "copy", |
| 201 | "42", |
| 202 | "[START_DIR]/tmp/SVG_VERSION" |
| 203 | ], |
| 204 | "infra_step": true, |
| 205 | "name": "write SVG_VERSION" |
| 206 | }, |
| 207 | { |
Eric Boren | f7928b4 | 2017-07-28 07:35:28 -0400 | [diff] [blame] | 208 | "name": "$result", |
| 209 | "recipe_result": null, |
| 210 | "status_code": 0 |
| 211 | } |
| 212 | ] |