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 10 matching lines...) Expand all Loading... |
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', 'man
aged': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\
ntarget_os = ['llvm']" |
32 ], | 32 ], |
33 "cwd": "[CUSTOM_/_B_WORK]", | 33 "cwd": "[CUSTOM_/_B_WORK]", |
34 "env": { | 34 "env": { |
35 "BUILDTYPE": "Debug", | 35 "BUILDTYPE": "Debug", |
36 "CHROME_HEADLESS": "1", | 36 "CHROME_HEADLESS": "1", |
37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", | 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN
" | 38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN
" |
39 }, | 39 }, |
40 "name": "gclient setup" | 40 "name": "gclient setup" |
41 }, | 41 }, |
42 { | 42 { |
43 "cmd": [ | 43 "cmd": [ |
44 "python", | 44 "python", |
45 "-u", | 45 "-u", |
46 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 46 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
47 "sync", | 47 "sync", |
48 "--nohooks", | 48 "--nohooks", |
49 "--force", | 49 "--force", |
50 "--verbose", | 50 "--verbose", |
51 "--delete_unversioned_trees", | 51 "--delete_unversioned_trees", |
52 "--revision", | 52 "--revision", |
53 "skia@abc123", | 53 "skia@abc123", |
54 "--revision", | |
55 "src@origin/lkgr", | |
56 "--output-json", | 54 "--output-json", |
57 "/path/to/tmp/json" | 55 "/path/to/tmp/json" |
58 ], | 56 ], |
59 "cwd": "[CUSTOM_/_B_WORK]", | 57 "cwd": "[CUSTOM_/_B_WORK]", |
60 "env": { | 58 "env": { |
61 "BUILDTYPE": "Debug", | 59 "BUILDTYPE": "Debug", |
62 "CHROME_HEADLESS": "1", | 60 "CHROME_HEADLESS": "1", |
63 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 61 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
64 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN
" | 62 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN
" |
65 }, | 63 }, |
66 "name": "gclient sync", | 64 "name": "gclient sync", |
67 "~followup_annotations": [ | 65 "~followup_annotations": [ |
68 "@@@STEP_LOG_LINE@json.output@{@@@", | 66 "@@@STEP_LOG_LINE@json.output@{@@@", |
69 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
70 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | 68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", |
71 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", | 69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", |
72 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
73 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", | |
74 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", | |
75 "@@@STEP_LOG_LINE@json.output@ }@@@", | 70 "@@@STEP_LOG_LINE@json.output@ }@@@", |
76 "@@@STEP_LOG_LINE@json.output@ }@@@", | 71 "@@@STEP_LOG_LINE@json.output@ }@@@", |
77 "@@@STEP_LOG_LINE@json.output@}@@@", | 72 "@@@STEP_LOG_LINE@json.output@}@@@", |
78 "@@@STEP_LOG_END@json.output@@@", | 73 "@@@STEP_LOG_END@json.output@@@", |
79 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" | 74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" |
80 ] | 75 ] |
81 }, | 76 }, |
82 { | 77 { |
83 "cmd": [ | 78 "cmd": [ |
84 "python", | 79 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" |
85 "-u", | |
86 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
87 "runhooks" | |
88 ], | 80 ], |
89 "cwd": "[CUSTOM_/_B_WORK]", | 81 "cwd": "[CUSTOM_/_B_WORK]/skia", |
90 "env": { | 82 "env": { |
91 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 83 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
92 }, | 84 }, |
93 "name": "gclient runhooks" | 85 "name": "fetch-gn" |
94 }, | 86 }, |
95 { | 87 { |
96 "cmd": [ | 88 "cmd": [ |
97 "[CUSTOM_/_B_WORK]/skia/tools/xsan_build", | 89 "gn", |
98 "memory", | 90 "gen", |
99 "dm" | 91 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN/Debug", |
| 92 "--args=cc=\"gcc\" cxx=\"g++\" extra_ldflags=\"-L[SLAVE_BUILD]/clang_linux
/msan\" sanitize=\"MSAN\" skia_use_fontconfig=false" |
100 ], | 93 ], |
101 "cwd": "[CUSTOM_/_B_WORK]/skia", | 94 "cwd": "[CUSTOM_/_B_WORK]/skia", |
102 "env": { | 95 "env": { |
103 "BUILDTYPE": "Debug", | 96 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
104 "CHROME_HEADLESS": "1", | |
105 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", | |
106 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | |
107 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN
" | |
108 }, | 97 }, |
109 "name": "build dm" | 98 "name": "gn gen" |
110 }, | 99 }, |
111 { | 100 { |
112 "cmd": [ | 101 "cmd": [ |
113 "[CUSTOM_/_B_WORK]/skia/tools/xsan_build", | 102 "ninja", |
114 "memory", | 103 "-C", |
115 "nanobench" | 104 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN/Debug" |
116 ], | 105 ], |
117 "cwd": "[CUSTOM_/_B_WORK]/skia", | 106 "cwd": "[CUSTOM_/_B_WORK]/skia", |
118 "env": { | 107 "env": { |
119 "BUILDTYPE": "Debug", | 108 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
120 "CHROME_HEADLESS": "1", | |
121 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", | |
122 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | |
123 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN
" | |
124 }, | 109 }, |
125 "name": "build nanobench" | 110 "name": "ninja" |
126 }, | 111 }, |
127 { | 112 { |
128 "cmd": [ | 113 "cmd": [ |
| 114 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" |
| 115 ], |
| 116 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 117 "env": { |
| 118 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
| 119 }, |
| 120 "name": "fetch-gn (2)" |
| 121 }, |
| 122 { |
| 123 "cmd": [ |
| 124 "gn", |
| 125 "gen", |
| 126 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN/Debug", |
| 127 "--args=cc=\"gcc\" cxx=\"g++\" extra_ldflags=\"-L[SLAVE_BUILD]/clang_linux
/msan\" sanitize=\"MSAN\" skia_use_fontconfig=false" |
| 128 ], |
| 129 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 130 "env": { |
| 131 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
| 132 }, |
| 133 "name": "gn gen (2)" |
| 134 }, |
| 135 { |
| 136 "cmd": [ |
| 137 "ninja", |
| 138 "-C", |
| 139 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN/Debug" |
| 140 ], |
| 141 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 142 "env": { |
| 143 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
| 144 }, |
| 145 "name": "ninja (2)" |
| 146 }, |
| 147 { |
| 148 "cmd": [ |
129 "python", | 149 "python", |
130 "-u", | 150 "-u", |
131 "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", | 151 "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", |
132 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN/Debug", | 152 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-MSAN/Debug", |
133 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" | 153 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" |
134 ], | 154 ], |
135 "name": "copy build products", | 155 "name": "copy build products", |
136 "~followup_annotations": [ | 156 "~followup_annotations": [ |
137 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 157 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
138 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 158 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
(...skipping 16 matching lines...) Expand all Loading... |
155 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", | 175 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", |
156 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r
elpath(f, src))@@@", | 176 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r
elpath(f, src))@@@", |
157 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d
st_path)):@@@", | 177 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d
st_path)):@@@", |
158 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path
))@@@", | 178 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path
))@@@", |
159 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s'
% (f, dst_path)@@@", | 179 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s'
% (f, dst_path)@@@", |
160 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 180 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
161 "@@@STEP_LOG_END@python.inline@@@" | 181 "@@@STEP_LOG_END@python.inline@@@" |
162 ] | 182 ] |
163 }, | 183 }, |
164 { | 184 { |
165 "cmd": [ | |
166 "python", | |
167 "-u", | |
168 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy
mlinks=bool(sys.argv[3]))\n", | |
169 "[CUSTOM_/_B_WORK]/skia/third_party/externals/llvm/msan_out", | |
170 "[CUSTOM_[SWARM_OUT_DIR]]/third_party/externals/llvm/msan_out", | |
171 "1" | |
172 ], | |
173 "name": "copy msan_out" | |
174 }, | |
175 { | |
176 "cmd": [ | |
177 "python", | |
178 "-u", | |
179 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy
mlinks=bool(sys.argv[3]))\n", | |
180 "[CUSTOM_/_B_WORK]/src/third_party/llvm-build", | |
181 "[CUSTOM_[SWARM_OUT_DIR]]/llvm-build", | |
182 "1" | |
183 ], | |
184 "name": "copy llvm-build" | |
185 }, | |
186 { | |
187 "name": "$result", | 185 "name": "$result", |
188 "recipe_result": null, | 186 "recipe_result": null, |
189 "status_code": 0 | 187 "status_code": 0 |
190 } | 188 } |
191 ] | 189 ] |
OLD | NEW |