Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: scripts/slave/recipes/skia/swarm_compile.expected/Build-Mac-Clang-x86_64-Debug-CommandBuffer.json

Issue 2270963002: Make skia recipes explicitly set GIT_MODE (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 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", 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]", 7 "[CUSTOM_/_B_WORK]",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout_path", 10 "name": "makedirs checkout_path",
(...skipping 10 matching lines...) Expand all
21 "@@@STEP_LOG_END@python.inline@@@" 21 "@@@STEP_LOG_END@python.inline@@@"
22 ] 22 ]
23 }, 23 },
24 { 24 {
25 "cmd": [ 25 "cmd": [
26 "python", 26 "python",
27 "-u", 27 "-u",
28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
29 "config", 29 "config",
30 "--spec", 30 "--spec",
31 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'man aged': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}, {'deps_file': 'DEPS', 'managed': False, 'name': 'src', 'url': 'https://chromium. googlesource.com/chromium/src.git'}]\ntarget_os = ['llvm']" 31 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi t'}, {'deps_file': '.DEPS.git', 'managed': False, 'name': 'src', 'url': 'https:/ /chromium.googlesource.com/chromium/src.git'}]\ntarget_os = ['llvm']"
32 ], 32 ],
33 "cwd": "[CUSTOM_/_B_WORK]", 33 "cwd": "[CUSTOM_/_B_WORK]",
34 "env": { 34 "env": {
35 "CHROME_HEADLESS": "1", 35 "CHROME_HEADLESS": "1",
36 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", 36 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
37 "PYTHONPATH": "[BUILD]/scripts" 37 "PYTHONPATH": "[BUILD]/scripts"
38 }, 38 },
39 "name": "gclient setup" 39 "name": "gclient setup"
40 }, 40 },
41 { 41 {
42 "cmd": [ 42 "cmd": [
43 "python", 43 "python",
44 "-u", 44 "-u",
45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
46 "sync", 46 "sync",
47 "--verbose",
48 "--with_branch_heads",
47 "--nohooks", 49 "--nohooks",
50 "-j8",
51 "--reset",
48 "--force", 52 "--force",
49 "--verbose", 53 "--upstream",
54 "--no-nag-max",
50 "--delete_unversioned_trees", 55 "--delete_unversioned_trees",
51 "--revision", 56 "--revision",
52 "skia@abc123", 57 "skia@abc123",
53 "--revision", 58 "--revision",
54 "src@origin/lkgr", 59 "src@origin/lkgr",
55 "--output-json", 60 "--output-json",
56 "/path/to/tmp/json" 61 "/path/to/tmp/json"
57 ], 62 ],
58 "cwd": "[CUSTOM_/_B_WORK]", 63 "cwd": "[CUSTOM_/_B_WORK]",
59 "env": { 64 "env": {
60 "CHROME_HEADLESS": "1", 65 "CHROME_HEADLESS": "1",
61 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 66 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
62 "PYTHONPATH": "[BUILD]/scripts" 67 "PYTHONPATH": "[BUILD]/scripts"
63 }, 68 },
64 "name": "gclient sync", 69 "name": "gclient sync",
65 "~followup_annotations": [ 70 "~followup_annotations": [
66 "@@@STEP_LOG_LINE@json.output@{@@@", 71 "@@@STEP_LOG_LINE@json.output@{@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 72 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", 73 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", 74 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b 694580e5d17ad10748\"@@@",
70 "@@@STEP_LOG_LINE@json.output@ }, @@@", 75 "@@@STEP_LOG_LINE@json.output@ }, @@@",
71 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 76 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
72 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", 77 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@",
73 "@@@STEP_LOG_LINE@json.output@ }@@@", 78 "@@@STEP_LOG_LINE@json.output@ }@@@",
74 "@@@STEP_LOG_LINE@json.output@ }@@@", 79 "@@@STEP_LOG_LINE@json.output@ }@@@",
75 "@@@STEP_LOG_LINE@json.output@}@@@", 80 "@@@STEP_LOG_LINE@json.output@}@@@",
76 "@@@STEP_LOG_END@json.output@@@", 81 "@@@STEP_LOG_END@json.output@@@",
77 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" 82 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1 0748\"@@@"
78 ] 83 ]
79 }, 84 },
80 { 85 {
81 "cmd": [ 86 "cmd": [
82 "python", 87 "python",
83 "-u", 88 "-u",
84 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 89 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
90 "recurse",
91 "git",
92 "config",
93 "user.name",
94 "local_bot"
95 ],
96 "cwd": "[CUSTOM_/_B_WORK]",
97 "env": {
98 "CHROME_HEADLESS": "1",
99 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
100 "PYTHONPATH": "[BUILD]/scripts"
101 },
102 "name": "gclient recurse (git config user.name)"
103 },
104 {
105 "cmd": [
106 "python",
107 "-u",
108 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
109 "recurse",
110 "git",
111 "config",
112 "user.email",
113 "local_bot@example.com"
114 ],
115 "cwd": "[CUSTOM_/_B_WORK]",
116 "env": {
117 "CHROME_HEADLESS": "1",
118 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
119 "PYTHONPATH": "[BUILD]/scripts"
120 },
121 "name": "gclient recurse (git config user.email)"
122 },
123 {
124 "cmd": [
125 "python",
126 "-u",
127 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
85 "runhooks" 128 "runhooks"
86 ], 129 ],
87 "cwd": "[CUSTOM_/_B_WORK]", 130 "cwd": "[CUSTOM_/_B_WORK]",
88 "env": { 131 "env": {
89 "GYP_CHROMIUM_NO_ACTION": "0", 132 "GYP_CHROMIUM_NO_ACTION": "0",
90 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 133 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
91 }, 134 },
92 "name": "gclient runhooks" 135 "name": "gclient runhooks"
93 }, 136 },
94 { 137 {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 "most" 184 "most"
142 ], 185 ],
143 "cwd": "[CUSTOM_/_B_WORK]/skia", 186 "cwd": "[CUSTOM_/_B_WORK]/skia",
144 "env": { 187 "env": {
145 "BUILDTYPE": "Debug", 188 "BUILDTYPE": "Debug",
146 "CC": "/usr/bin/clang", 189 "CC": "/usr/bin/clang",
147 "CHROME_HEADLESS": "1", 190 "CHROME_HEADLESS": "1",
148 "CHROME_PATH": "[SLAVE_BUILD]/src", 191 "CHROME_PATH": "[SLAVE_BUILD]/src",
149 "CXX": "/usr/bin/clang++", 192 "CXX": "/usr/bin/clang++",
150 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_command_buff er=1 skia_warnings_as_errors=1", 193 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_command_buff er=1 skia_warnings_as_errors=1",
151 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 194 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
152 "PYTHONPATH": "[BUILD]/scripts", 195 "PYTHONPATH": "[BUILD]/scripts",
153 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma ndBuffer" 196 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma ndBuffer"
154 }, 197 },
155 "name": "build most" 198 "name": "build most"
156 }, 199 },
157 { 200 {
158 "cmd": [ 201 "cmd": [
159 "python", 202 "python",
160 "-u", 203 "-u",
161 "[CUSTOM_/_B_WORK]/skia/tools/build_command_buffer.py", 204 "[CUSTOM_/_B_WORK]/skia/tools/build_command_buffer.py",
162 "--chrome-dir", 205 "--chrome-dir",
163 "[CUSTOM_/_B_WORK]", 206 "[CUSTOM_/_B_WORK]",
164 "--output-dir", 207 "--output-dir",
165 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb ug", 208 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb ug",
166 "--chrome-build-type", 209 "--chrome-build-type",
167 "Debug", 210 "Debug",
168 "--no-sync" 211 "--no-sync"
169 ], 212 ],
170 "env": { 213 "env": {
171 "BUILDTYPE": "Debug", 214 "BUILDTYPE": "Debug",
172 "CC": "/usr/bin/clang", 215 "CC": "/usr/bin/clang",
173 "CHROME_HEADLESS": "1", 216 "CHROME_HEADLESS": "1",
174 "CXX": "/usr/bin/clang++", 217 "CXX": "/usr/bin/clang++",
175 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_command_buff er=1 skia_warnings_as_errors=1", 218 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_command_buff er=1 skia_warnings_as_errors=1",
176 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 219 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
177 "PYTHONPATH": "[BUILD]/scripts", 220 "PYTHONPATH": "[BUILD]/scripts",
178 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma ndBuffer" 221 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma ndBuffer"
179 }, 222 },
180 "name": "build command_buffer" 223 "name": "build command_buffer"
181 }, 224 },
182 { 225 {
183 "cmd": [ 226 "cmd": [
184 "python", 227 "python",
185 "-u", 228 "-u",
186 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'nan obench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so ', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise \n\nfor pattern in build_products_whitelist:\n path = os.path.join(src, pattern )\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath (f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedi rs(os.path.dirname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n", 229 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'nan obench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so ', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise \n\nfor pattern in build_products_whitelist:\n path = os.path.join(src, pattern )\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath (f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedi rs(os.path.dirname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n",
(...skipping 28 matching lines...) Expand all
215 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 258 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
216 "@@@STEP_LOG_END@python.inline@@@" 259 "@@@STEP_LOG_END@python.inline@@@"
217 ] 260 ]
218 }, 261 },
219 { 262 {
220 "name": "$result", 263 "name": "$result",
221 "recipe_result": null, 264 "recipe_result": null,
222 "status_code": 0 265 "status_code": 0
223 } 266 }
224 ] 267 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698