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

Side by Side Diff: infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Debug-GN.json

Issue 2189713003: recipes: Add a GN flavor. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: wintests Created 4 years, 4 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 "@@@STEP_LOG_END@json.output@@@", 69 "@@@STEP_LOG_END@json.output@@@",
70 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" 70 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@"
71 ] 71 ]
72 }, 72 },
73 { 73 {
74 "cmd": [ 74 "cmd": [
75 "python", 75 "python",
76 "-u", 76 "-u",
77 "[CUSTOM_/_B_WORK]/skia/tools/buildbot_spec.py", 77 "[CUSTOM_/_B_WORK]/skia/tools/buildbot_spec.py",
78 "/path/to/tmp/json", 78 "/path/to/tmp/json",
79 "Build-Ubuntu-GCC-x86_64-Release-CMake" 79 "Build-Ubuntu-GCC-x86_64-Debug-GN"
80 ], 80 ],
81 "cwd": "[CUSTOM_/_B_WORK]/skia", 81 "cwd": "[CUSTOM_/_B_WORK]/skia",
82 "name": "exec buildbot_spec.py", 82 "name": "exec buildbot_spec.py",
83 "~followup_annotations": [ 83 "~followup_annotations": [
84 "@@@STEP_LOG_LINE@json.output@{@@@", 84 "@@@STEP_LOG_LINE@json.output@{@@@",
85 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", 85 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
86 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", 86 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@",
87 "@@@STEP_LOG_LINE@json.output@ ], @@@", 87 "@@@STEP_LOG_LINE@json.output@ ], @@@",
88 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", 88 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
89 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@", 89 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@",
90 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", 90 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
91 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"CMake\", @@@", 91 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"GN\", @@@",
92 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@", 92 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
93 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Ubuntu\", @@@", 93 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Ubuntu\", @@@",
94 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@", 94 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@",
95 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"x86_64\"@@@", 95 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"x86_64\"@@@",
96 "@@@STEP_LOG_LINE@json.output@ }, @@@", 96 "@@@STEP_LOG_LINE@json.output@ }, @@@",
97 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", 97 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
98 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@", 98 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
99 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", 99 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
100 "@@@STEP_LOG_LINE@json.output@ ], @@@", 100 "@@@STEP_LOG_LINE@json.output@ ], @@@",
101 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@", 101 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
102 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@", 102 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@",
103 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", 103 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
104 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=x86_64 skia_warnings_as_errors=1\"@@@", 104 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=x86_64 skia_warnings_as_errors=1\"@@@",
105 "@@@STEP_LOG_LINE@json.output@ }, @@@", 105 "@@@STEP_LOG_LINE@json.output@ }, @@@",
106 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@", 106 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
107 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", 107 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
108 "@@@STEP_LOG_LINE@json.output@ ], @@@", 108 "@@@STEP_LOG_LINE@json.output@ ], @@@",
109 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@", 109 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
110 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", 110 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
111 "@@@STEP_LOG_LINE@json.output@}@@@", 111 "@@@STEP_LOG_LINE@json.output@}@@@",
112 "@@@STEP_LOG_END@json.output@@@" 112 "@@@STEP_LOG_END@json.output@@@"
113 ] 113 ]
114 }, 114 },
115 { 115 {
116 "cmd": [ 116 "cmd": [
117 "[CUSTOM_/_B_WORK]/skia/cmake/cmake_build" 117 "[CUSTOM_/_B_WORK]/skia/bin/fetch_gn"
118 ], 118 ],
119 "cwd": "[CUSTOM_/_B_WORK]/skia", 119 "cwd": "[CUSTOM_/_B_WORK]/skia",
120 "env": { 120 "env": {
121 "BUILDTYPE": "Release", 121 "BUILDTYPE": "Debug",
122 "CHROME_HEADLESS": "1", 122 "CHROME_HEADLESS": "1",
123 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", 123 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1",
124 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 124 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
125 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-CM ake" 125 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN"
126 }, 126 },
127 "name": "cmake_build" 127 "name": "fetch-gn"
128 },
129 {
130 "cmd": [
131 "gn",
132 "gen",
133 "out/Debug",
134 "--args=is_debug=true"
135 ],
136 "cwd": "[CUSTOM_/_B_WORK]/skia",
137 "env": {
138 "BUILDTYPE": "Debug",
139 "CHROME_HEADLESS": "1",
140 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1",
141 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
142 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN"
143 },
144 "name": "gn_gen"
145 },
146 {
147 "cmd": [
148 "ninja",
149 "-C",
150 "out/Debug",
151 "skia"
152 ],
153 "cwd": "[CUSTOM_/_B_WORK]/skia",
154 "env": {
155 "BUILDTYPE": "Debug",
156 "CHROME_HEADLESS": "1",
157 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1",
158 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
159 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN"
160 },
161 "name": "compile most"
128 }, 162 },
129 { 163 {
130 "cmd": [ 164 "cmd": [
131 "python", 165 "python",
132 "-u", 166 "-u",
133 "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", 167 "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",
134 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-CMake/Release" , 168 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN/Debug",
135 "[CUSTOM_[SWARM_OUT_DIR]]/out/Release" 169 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug"
136 ], 170 ],
137 "name": "copy build products", 171 "name": "copy build products",
138 "~followup_annotations": [ 172 "~followup_annotations": [
139 "@@@STEP_LOG_LINE@python.inline@import errno@@@", 173 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
140 "@@@STEP_LOG_LINE@python.inline@import glob@@@", 174 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
141 "@@@STEP_LOG_LINE@python.inline@import os@@@", 175 "@@@STEP_LOG_LINE@python.inline@import os@@@",
142 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 176 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
143 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 177 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
144 "@@@STEP_LOG_LINE@python.inline@@@@", 178 "@@@STEP_LOG_LINE@python.inline@@@@",
145 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", 179 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@",
(...skipping 16 matching lines...) Expand all
162 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 196 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
163 "@@@STEP_LOG_END@python.inline@@@" 197 "@@@STEP_LOG_END@python.inline@@@"
164 ] 198 ]
165 }, 199 },
166 { 200 {
167 "name": "$result", 201 "name": "$result",
168 "recipe_result": null, 202 "recipe_result": null,
169 "status_code": 0 203 "status_code": 0
170 } 204 }
171 ] 205 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698