OLD | NEW |
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 Loading... |
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 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" | |
80 ], | |
81 "cwd": "[CUSTOM_/_B_WORK]/skia", | |
82 "env": { | |
83 "BUILDTYPE": "Debug", | |
84 "CHROME_HEADLESS": "1", | |
85 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=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-GN" | |
88 }, | |
89 "name": "fetch-gn" | |
90 }, | |
91 { | |
92 "cmd": [ | |
93 "python", | 79 "python", |
94 "-u", | 80 "-u", |
95 "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" | 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" |
96 ], | 82 ], |
97 "env": { | 83 "env": { |
98 "BUILDTYPE": "Debug", | 84 "BUILDTYPE": "Debug", |
99 "CHROME_HEADLESS": "1", | 85 "CHROME_HEADLESS": "1", |
100 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 86 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
101 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN" | 87 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN" |
102 }, | 88 }, |
(...skipping 12 matching lines...) Expand all Loading... |
115 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 101 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
116 "@@@STEP_LOG_LINE@python.inline@ ccache = subprocess.check_output(['which
', 'ccache']).rstrip()@@@", | 102 "@@@STEP_LOG_LINE@python.inline@ ccache = subprocess.check_output(['which
', 'ccache']).rstrip()@@@", |
117 "@@@STEP_LOG_LINE@python.inline@except:@@@", | 103 "@@@STEP_LOG_LINE@python.inline@except:@@@", |
118 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 104 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
119 "@@@STEP_LOG_LINE@python.inline@print json.dumps({'ccache': ccache})@@@", | 105 "@@@STEP_LOG_LINE@python.inline@print json.dumps({'ccache': ccache})@@@", |
120 "@@@STEP_LOG_END@python.inline@@@" | 106 "@@@STEP_LOG_END@python.inline@@@" |
121 ] | 107 ] |
122 }, | 108 }, |
123 { | 109 { |
124 "cmd": [ | 110 "cmd": [ |
| 111 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" |
| 112 ], |
| 113 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 114 "env": { |
| 115 "BUILDTYPE": "Debug", |
| 116 "CHROME_HEADLESS": "1", |
| 117 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", |
| 118 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
| 119 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN" |
| 120 }, |
| 121 "name": "fetch-gn" |
| 122 }, |
| 123 { |
| 124 "cmd": [ |
125 "gn", | 125 "gn", |
126 "gen", | 126 "gen", |
127 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN/Debug", | 127 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN/Debug", |
128 "--args=is_debug=true cc=\"/usr/bin/ccache gcc\" cxx=\"/usr/bin/ccache g++
\"" | 128 "--args=cc=\"/usr/bin/ccache gcc \" cxx=\"/usr/bin/ccache g++ \"" |
129 ], | 129 ], |
130 "cwd": "[CUSTOM_/_B_WORK]/skia", | 130 "cwd": "[CUSTOM_/_B_WORK]/skia", |
131 "env": { | 131 "env": { |
132 "BUILDTYPE": "Debug", | 132 "BUILDTYPE": "Debug", |
133 "CHROME_HEADLESS": "1", | 133 "CHROME_HEADLESS": "1", |
134 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", | 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]", | 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-GN" | 136 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN" |
137 }, | 137 }, |
138 "name": "gn_gen" | 138 "name": "gn gen" |
139 }, | 139 }, |
140 { | 140 { |
141 "cmd": [ | 141 "cmd": [ |
142 "ninja", | 142 "ninja", |
143 "-C", | 143 "-C", |
144 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN/Debug" | 144 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN/Debug" |
145 ], | 145 ], |
146 "cwd": "[CUSTOM_/_B_WORK]/skia", | 146 "cwd": "[CUSTOM_/_B_WORK]/skia", |
147 "env": { | 147 "env": { |
148 "BUILDTYPE": "Debug", | 148 "BUILDTYPE": "Debug", |
149 "CHROME_HEADLESS": "1", | 149 "CHROME_HEADLESS": "1", |
150 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", | 150 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", |
151 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 151 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
152 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN" | 152 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN" |
153 }, | 153 }, |
154 "name": "compile most" | 154 "name": "ninja" |
155 }, | 155 }, |
156 { | 156 { |
157 "cmd": [ | 157 "cmd": [ |
158 "python", | 158 "python", |
159 "-u", | 159 "-u", |
160 "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", | 160 "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 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN/Debug", | 161 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-GN/Debug", |
162 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" | 162 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" |
163 ], | 163 ], |
164 "name": "copy build products", | 164 "name": "copy build products", |
(...skipping 24 matching lines...) Expand all Loading... |
189 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 189 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
190 "@@@STEP_LOG_END@python.inline@@@" | 190 "@@@STEP_LOG_END@python.inline@@@" |
191 ] | 191 ] |
192 }, | 192 }, |
193 { | 193 { |
194 "name": "$result", | 194 "name": "$result", |
195 "recipe_result": null, | 195 "recipe_result": null, |
196 "status_code": 0 | 196 "status_code": 0 |
197 } | 197 } |
198 ] | 198 ] |
OLD | NEW |