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

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

Issue 2229463002: GN: take over some exisiting bots (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: break out has() 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_LINE@json.output@ \"revision\": 164710@@@", 69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@",
70 "@@@STEP_LOG_LINE@json.output@ }@@@", 70 "@@@STEP_LOG_LINE@json.output@ }@@@",
71 "@@@STEP_LOG_LINE@json.output@ }@@@", 71 "@@@STEP_LOG_LINE@json.output@ }@@@",
72 "@@@STEP_LOG_LINE@json.output@}@@@", 72 "@@@STEP_LOG_LINE@json.output@}@@@",
73 "@@@STEP_LOG_END@json.output@@@", 73 "@@@STEP_LOG_END@json.output@@@",
74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" 74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@"
75 ] 75 ]
76 }, 76 },
77 { 77 {
78 "cmd": [ 78 "cmd": [
79 "make", 79 "python",
80 "most" 80 "-u",
81 "import json\nimport subprocess\nimport sys\n\nccache = None\ntry:\n ccac he = subprocess.check_output(['which', 'ccache']).rstrip()\nexcept:\n pass\npri nt json.dumps({'ccache': ccache})\n"
82 ],
83 "env": {
84 "BUILDTYPE": "Debug",
85 "CHROME_HEADLESS": "1",
86 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
87 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_U SE_DISCARDABLE_SCALEDIMAGECACHE"
88 },
89 "name": "has ccache?",
90 "stdout": "/path/to/tmp/json",
91 "~followup_annotations": [
92 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
93 "@@@STEP_LOG_END@json.output (invalid)@@@",
94 "@@@STEP_LOG_LINE@python.inline@import json@@@",
95 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
96 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
97 "@@@STEP_LOG_LINE@python.inline@@@@",
98 "@@@STEP_LOG_LINE@python.inline@ccache = None@@@",
99 "@@@STEP_LOG_LINE@python.inline@try:@@@",
100 "@@@STEP_LOG_LINE@python.inline@ ccache = subprocess.check_output(['which ', 'ccache']).rstrip()@@@",
101 "@@@STEP_LOG_LINE@python.inline@except:@@@",
102 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
103 "@@@STEP_LOG_LINE@python.inline@print json.dumps({'ccache': ccache})@@@",
104 "@@@STEP_LOG_END@python.inline@@@"
105 ]
106 },
107 {
108 "cmd": [
109 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn"
81 ], 110 ],
82 "cwd": "[CUSTOM_/_B_WORK]/skia", 111 "cwd": "[CUSTOM_/_B_WORK]/skia",
83 "env": { 112 "env": {
84 "BUILDTYPE": "Debug", 113 "BUILDTYPE": "Debug",
85 "CHROME_HEADLESS": "1", 114 "CHROME_HEADLESS": "1",
86 "CHROME_PATH": "[SLAVE_BUILD]/src",
87 "CPPFLAGS": "-DSK_USE_DISCARDABLE_SCALEDIMAGECACHE", 115 "CPPFLAGS": "-DSK_USE_DISCARDABLE_SCALEDIMAGECACHE",
88 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", 116 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1",
89 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 117 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
90 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_U SE_DISCARDABLE_SCALEDIMAGECACHE" 118 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_U SE_DISCARDABLE_SCALEDIMAGECACHE"
91 }, 119 },
92 "name": "build most" 120 "name": "fetch-gn"
93 }, 121 },
94 { 122 {
95 "cmd": [ 123 "cmd": [
124 "gn",
125 "gen",
126 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDAB LE_SCALEDIMAGECACHE/Debug",
127 "--args=cc=\"gcc -DSK_USE_DISCARDABLE_SCALEDIMAGECACHE\" cxx=\"g++ -DSK_US E_DISCARDABLE_SCALEDIMAGECACHE\""
128 ],
129 "cwd": "[CUSTOM_/_B_WORK]/skia",
130 "env": {
131 "BUILDTYPE": "Debug",
132 "CHROME_HEADLESS": "1",
133 "CPPFLAGS": "-DSK_USE_DISCARDABLE_SCALEDIMAGECACHE",
134 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1",
135 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
136 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_U SE_DISCARDABLE_SCALEDIMAGECACHE"
137 },
138 "name": "gn gen"
139 },
140 {
141 "cmd": [
142 "ninja",
143 "-C",
144 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDAB LE_SCALEDIMAGECACHE/Debug"
145 ],
146 "cwd": "[CUSTOM_/_B_WORK]/skia",
147 "env": {
148 "BUILDTYPE": "Debug",
149 "CHROME_HEADLESS": "1",
150 "CPPFLAGS": "-DSK_USE_DISCARDABLE_SCALEDIMAGECACHE",
151 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1",
152 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
153 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_U SE_DISCARDABLE_SCALEDIMAGECACHE"
154 },
155 "name": "ninja"
156 },
157 {
158 "cmd": [
96 "python", 159 "python",
97 "-u", 160 "-u",
98 "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', 'get _images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '* .so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell .ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs( dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i n 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.makedirs(os.path.d irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n", 161 "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', 'get _images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '* .so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell .ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs( dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i n 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.makedirs(os.path.d irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n",
99 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDAB LE_SCALEDIMAGECACHE/Debug", 162 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDAB LE_SCALEDIMAGECACHE/Debug",
100 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" 163 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug"
101 ], 164 ],
102 "name": "copy build products", 165 "name": "copy build products",
103 "~followup_annotations": [ 166 "~followup_annotations": [
104 "@@@STEP_LOG_LINE@python.inline@import errno@@@", 167 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
105 "@@@STEP_LOG_LINE@python.inline@import glob@@@", 168 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
(...skipping 21 matching lines...) Expand all
127 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 190 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
128 "@@@STEP_LOG_END@python.inline@@@" 191 "@@@STEP_LOG_END@python.inline@@@"
129 ] 192 ]
130 }, 193 },
131 { 194 {
132 "name": "$result", 195 "name": "$result",
133 "recipe_result": null, 196 "recipe_result": null,
134 "status_code": 0 197 "status_code": 0
135 } 198 }
136 ] 199 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698