• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "cmd": [
4      "python",
5      "-u",
6      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
7      "--json-output",
8      "/path/to/tmp/json",
9      "ensure-directory",
10      "--mode",
11      "0777",
12      "[START_DIR]/cache/work"
13    ],
14    "infra_step": true,
15    "name": "makedirs checkout_path"
16  },
17  {
18    "cmd": [
19      "python",
20      "-u",
21      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
22      "--json-output",
23      "/path/to/tmp/json",
24      "remove",
25      "[START_DIR]/cache/work/.gclient_entries"
26    ],
27    "infra_step": true,
28    "name": "remove [START_DIR]/cache/work/.gclient_entries"
29  },
30  {
31    "cmd": [
32      "python",
33      "-u",
34      "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
35      "--spec-path",
36      "cache_dir = '[START_DIR]/cache/git'\nsolutions = [{'custom_vars': {'checkout_chromium': True}, 'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]",
37      "--patch_root",
38      "skia",
39      "--revision_mapping_file",
40      "{\"got_revision\": \"skia\"}",
41      "--git-cache-dir",
42      "[START_DIR]/cache/git",
43      "--cleanup-dir",
44      "[CLEANUP]/bot_update",
45      "--output_json",
46      "/path/to/tmp/json",
47      "--revision",
48      "skia@abc123"
49    ],
50    "cwd": "[START_DIR]/cache/work",
51    "env_prefixes": {
52      "PATH": [
53        "RECIPE_PACKAGE_REPO[depot_tools]"
54      ]
55    },
56    "infra_step": true,
57    "name": "bot_update",
58    "~followup_annotations": [
59      "@@@STEP_TEXT@Some step text@@@",
60      "@@@STEP_LOG_LINE@json.output@{@@@",
61      "@@@STEP_LOG_LINE@json.output@  \"did_run\": true, @@@",
62      "@@@STEP_LOG_LINE@json.output@  \"fixed_revisions\": {@@@",
63      "@@@STEP_LOG_LINE@json.output@    \"skia\": \"abc123\"@@@",
64      "@@@STEP_LOG_LINE@json.output@  }, @@@",
65      "@@@STEP_LOG_LINE@json.output@  \"manifest\": {@@@",
66      "@@@STEP_LOG_LINE@json.output@    \"skia\": {@@@",
67      "@@@STEP_LOG_LINE@json.output@      \"repository\": \"https://fake.org/skia.git\", @@@",
68      "@@@STEP_LOG_LINE@json.output@      \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
69      "@@@STEP_LOG_LINE@json.output@    }@@@",
70      "@@@STEP_LOG_LINE@json.output@  }, @@@",
71      "@@@STEP_LOG_LINE@json.output@  \"patch_failure\": false, @@@",
72      "@@@STEP_LOG_LINE@json.output@  \"patch_root\": \"skia\", @@@",
73      "@@@STEP_LOG_LINE@json.output@  \"properties\": {@@@",
74      "@@@STEP_LOG_LINE@json.output@    \"got_revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\", @@@",
75      "@@@STEP_LOG_LINE@json.output@    \"got_revision_cp\": \"refs/heads/master@{#164710}\"@@@",
76      "@@@STEP_LOG_LINE@json.output@  }, @@@",
77      "@@@STEP_LOG_LINE@json.output@  \"root\": \"skia\", @@@",
78      "@@@STEP_LOG_LINE@json.output@  \"source_manifest\": {@@@",
79      "@@@STEP_LOG_LINE@json.output@    \"directories\": {@@@",
80      "@@@STEP_LOG_LINE@json.output@      \"skia\": {@@@",
81      "@@@STEP_LOG_LINE@json.output@        \"git_checkout\": {@@@",
82      "@@@STEP_LOG_LINE@json.output@          \"repo_url\": \"https://fake.org/skia.git\", @@@",
83      "@@@STEP_LOG_LINE@json.output@          \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
84      "@@@STEP_LOG_LINE@json.output@        }@@@",
85      "@@@STEP_LOG_LINE@json.output@      }@@@",
86      "@@@STEP_LOG_LINE@json.output@    }, @@@",
87      "@@@STEP_LOG_LINE@json.output@    \"version\": 0@@@",
88      "@@@STEP_LOG_LINE@json.output@  }, @@@",
89      "@@@STEP_LOG_LINE@json.output@  \"step_text\": \"Some step text\"@@@",
90      "@@@STEP_LOG_LINE@json.output@}@@@",
91      "@@@STEP_LOG_END@json.output@@@",
92      "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
93      "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@"
94    ]
95  },
96  {
97    "cmd": [
98      "python",
99      "-u",
100      "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
101      "runhooks"
102    ],
103    "cwd": "[START_DIR]/cache/work",
104    "env": {
105      "CPPFLAGS": "-DSK_ALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS=1",
106      "DEPOT_TOOLS_UPDATE": "0",
107      "GYP_CHROMIUM_NO_ACTION": "0"
108    },
109    "env_suffixes": {
110      "PATH": [
111        "RECIPE_PACKAGE_REPO[depot_tools]"
112      ]
113    },
114    "name": "gclient runhooks"
115  },
116  {
117    "cmd": [
118      "python",
119      "-u",
120      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
121      "--json-output",
122      "/path/to/tmp/json",
123      "ensure-directory",
124      "--mode",
125      "0777",
126      "[START_DIR]/tmp"
127    ],
128    "infra_step": true,
129    "name": "makedirs tmp_dir"
130  },
131  {
132    "cmd": [
133      "[START_DIR]/cache/work/src/buildtools/linux64/gn",
134      "gen",
135      "[START_DIR]/cache/work/src/out/Release"
136    ],
137    "cwd": "[START_DIR]/cache/work/src",
138    "env": {
139      "CHROME_HEADLESS": "1",
140      "CPPFLAGS": "-DSK_ALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS=1",
141      "GYP_GENERATORS": "ninja",
142      "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
143    },
144    "name": "GN"
145  },
146  {
147    "cmd": [
148      "ninja",
149      "-C",
150      "[START_DIR]/cache/work/src/out/Release",
151      "chrome"
152    ],
153    "cwd": "[START_DIR]/cache/work/src",
154    "env": {
155      "CHROME_HEADLESS": "1",
156      "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
157    },
158    "name": "Build Chrome"
159  },
160  {
161    "cmd": [
162      "python",
163      "-u",
164      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
165      "--json-output",
166      "/path/to/tmp/json",
167      "rmtree",
168      "[START_DIR]/skp_output"
169    ],
170    "infra_step": true,
171    "name": "rmtree skp_output"
172  },
173  {
174    "cmd": [
175      "python",
176      "-u",
177      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
178      "--json-output",
179      "/path/to/tmp/json",
180      "ensure-directory",
181      "--mode",
182      "0777",
183      "[START_DIR]/skp_output"
184    ],
185    "infra_step": true,
186    "name": "makedirs skp_output"
187  },
188  {
189    "cmd": [
190      "python",
191      "[START_DIR]/cache/work/skia/infra/bots/assets/skp/create.py",
192      "--chrome_src_path",
193      "[START_DIR]/cache/work/src",
194      "--browser_executable",
195      "[START_DIR]/cache/work/src/out/Release/chrome",
196      "--target_dir",
197      "[START_DIR]/skp_output"
198    ],
199    "cwd": "[START_DIR]/cache/work/skia",
200    "env": {
201      "CHROME_HEADLESS": "1",
202      "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
203    },
204    "name": "Recreate SKPs"
205  },
206  {
207    "jsonResult": null,
208    "name": "$result"
209  }
210]