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