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 17 matching lines...) Expand all Loading... |
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'}]\
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-Clang-x86_64-Debug-GN
" | 38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-AS
AN" |
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 "--output-json", | 54 "--output-json", |
55 "/path/to/tmp/json" | 55 "/path/to/tmp/json" |
56 ], | 56 ], |
57 "cwd": "[CUSTOM_/_B_WORK]", | 57 "cwd": "[CUSTOM_/_B_WORK]", |
58 "env": { | 58 "env": { |
59 "BUILDTYPE": "Debug", | 59 "BUILDTYPE": "Debug", |
60 "CHROME_HEADLESS": "1", | 60 "CHROME_HEADLESS": "1", |
61 "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]", |
62 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN
" | 62 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-AS
AN" |
63 }, | 63 }, |
64 "name": "gclient sync", | 64 "name": "gclient sync", |
65 "~followup_annotations": [ | 65 "~followup_annotations": [ |
66 "@@@STEP_LOG_LINE@json.output@{@@@", | 66 "@@@STEP_LOG_LINE@json.output@{@@@", |
67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | 68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", |
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" | 79 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" |
80 ], | 80 ], |
81 "cwd": "[CUSTOM_/_B_WORK]/skia", | 81 "cwd": "[CUSTOM_/_B_WORK]/skia", |
82 "env": { | 82 "env": { |
83 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" | 83 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
84 }, | 84 }, |
85 "name": "fetch-gn" | 85 "name": "fetch-gn" |
86 }, | 86 }, |
87 { | 87 { |
88 "cmd": [ | 88 "cmd": [ |
89 "gn", | 89 "gn", |
90 "gen", | 90 "gen", |
91 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug", | 91 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-ASAN/Debug", |
92 "--args=cc=\"[SLAVE_BUILD]/clang_linux/bin/clang\" cxx=\"[SLAVE_BUILD]/cla
ng_linux/bin/clang++\" extra_ldflags=\"-fuse-ld=lld\"" | 92 "--args=cc=\"[SLAVE_BUILD]/clang_linux/bin/clang\" cxx=\"[SLAVE_BUILD]/cla
ng_linux/bin/clang++\" extra_ldflags=\"-fuse-ld=lld\" sanitize=\"ASAN\"" |
93 ], | 93 ], |
94 "cwd": "[CUSTOM_/_B_WORK]/skia", | 94 "cwd": "[CUSTOM_/_B_WORK]/skia", |
95 "env": { | 95 "env": { |
96 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" | 96 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
97 }, | 97 }, |
98 "name": "gn gen" | 98 "name": "gn gen" |
99 }, | 99 }, |
100 { | 100 { |
101 "cmd": [ | 101 "cmd": [ |
102 "ninja", | 102 "ninja", |
103 "-C", | 103 "-C", |
104 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug" | 104 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-ASAN/Debug" |
105 ], | 105 ], |
106 "cwd": "[CUSTOM_/_B_WORK]/skia", | 106 "cwd": "[CUSTOM_/_B_WORK]/skia", |
107 "env": { | 107 "env": { |
108 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" | 108 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
109 }, | 109 }, |
110 "name": "ninja" | 110 "name": "ninja" |
111 }, | 111 }, |
112 { | 112 { |
113 "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-Clang-x86_64-Debug-ASAN/Debug", |
| 127 "--args=cc=\"[SLAVE_BUILD]/clang_linux/bin/clang\" cxx=\"[SLAVE_BUILD]/cla
ng_linux/bin/clang++\" extra_ldflags=\"-fuse-ld=lld\" sanitize=\"ASAN\"" |
| 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-Clang-x86_64-Debug-ASAN/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": [ |
114 "python", | 149 "python", |
115 "-u", | 150 "-u", |
116 "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", |
117 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug", | 152 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-ASAN/Debug", |
118 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" | 153 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" |
119 ], | 154 ], |
120 "name": "copy build products", | 155 "name": "copy build products", |
121 "~followup_annotations": [ | 156 "~followup_annotations": [ |
122 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 157 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
123 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 158 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
124 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 159 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
125 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 160 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
126 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 161 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
127 "@@@STEP_LOG_LINE@python.inline@@@@", | 162 "@@@STEP_LOG_LINE@python.inline@@@@", |
(...skipping 17 matching lines...) Expand all Loading... |
145 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 180 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
146 "@@@STEP_LOG_END@python.inline@@@" | 181 "@@@STEP_LOG_END@python.inline@@@" |
147 ] | 182 ] |
148 }, | 183 }, |
149 { | 184 { |
150 "name": "$result", | 185 "name": "$result", |
151 "recipe_result": null, | 186 "recipe_result": null, |
152 "status_code": 0 | 187 "status_code": 0 |
153 } | 188 } |
154 ] | 189 ] |
OLD | NEW |