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'}]" | 31 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git',
'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi
t'}]" |
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-GN
" |
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 "--verbose", |
| 49 "--with_branch_heads", |
48 "--nohooks", | 50 "--nohooks", |
| 51 "-j8", |
| 52 "--reset", |
49 "--force", | 53 "--force", |
50 "--verbose", | 54 "--upstream", |
| 55 "--no-nag-max", |
51 "--delete_unversioned_trees", | 56 "--delete_unversioned_trees", |
52 "--revision", | 57 "--revision", |
53 "skia@abc123", | 58 "skia@abc123", |
54 "--output-json", | 59 "--output-json", |
55 "/path/to/tmp/json" | 60 "/path/to/tmp/json" |
56 ], | 61 ], |
57 "cwd": "[CUSTOM_/_B_WORK]", | 62 "cwd": "[CUSTOM_/_B_WORK]", |
58 "env": { | 63 "env": { |
59 "BUILDTYPE": "Debug", | 64 "BUILDTYPE": "Debug", |
60 "CHROME_HEADLESS": "1", | 65 "CHROME_HEADLESS": "1", |
61 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 66 "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
" | 67 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN
" |
63 }, | 68 }, |
64 "name": "gclient sync", | 69 "name": "gclient sync", |
65 "~followup_annotations": [ | 70 "~followup_annotations": [ |
66 "@@@STEP_LOG_LINE@json.output@{@@@", | 71 "@@@STEP_LOG_LINE@json.output@{@@@", |
67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 72 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | 73 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", |
69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", | 74 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b
694580e5d17ad10748\"@@@", |
70 "@@@STEP_LOG_LINE@json.output@ }@@@", | 75 "@@@STEP_LOG_LINE@json.output@ }@@@", |
71 "@@@STEP_LOG_LINE@json.output@ }@@@", | 76 "@@@STEP_LOG_LINE@json.output@ }@@@", |
72 "@@@STEP_LOG_LINE@json.output@}@@@", | 77 "@@@STEP_LOG_LINE@json.output@}@@@", |
73 "@@@STEP_LOG_END@json.output@@@", | 78 "@@@STEP_LOG_END@json.output@@@", |
74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" | 79 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1
0748\"@@@" |
75 ] | 80 ] |
76 }, | 81 }, |
77 { | 82 { |
78 "cmd": [ | 83 "cmd": [ |
| 84 "python", |
| 85 "-u", |
| 86 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 87 "recurse", |
| 88 "git", |
| 89 "config", |
| 90 "user.name", |
| 91 "local_bot" |
| 92 ], |
| 93 "cwd": "[CUSTOM_/_B_WORK]", |
| 94 "env": { |
| 95 "BUILDTYPE": "Debug", |
| 96 "CHROME_HEADLESS": "1", |
| 97 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
| 98 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN
" |
| 99 }, |
| 100 "name": "gclient recurse (git config user.name)" |
| 101 }, |
| 102 { |
| 103 "cmd": [ |
| 104 "python", |
| 105 "-u", |
| 106 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 107 "recurse", |
| 108 "git", |
| 109 "config", |
| 110 "user.email", |
| 111 "local_bot@example.com" |
| 112 ], |
| 113 "cwd": "[CUSTOM_/_B_WORK]", |
| 114 "env": { |
| 115 "BUILDTYPE": "Debug", |
| 116 "CHROME_HEADLESS": "1", |
| 117 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
| 118 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN
" |
| 119 }, |
| 120 "name": "gclient recurse (git config user.email)" |
| 121 }, |
| 122 { |
| 123 "cmd": [ |
79 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" | 124 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" |
80 ], | 125 ], |
81 "cwd": "[CUSTOM_/_B_WORK]/skia", | 126 "cwd": "[CUSTOM_/_B_WORK]/skia", |
82 "env": { | 127 "env": { |
83 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" | 128 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" |
84 }, | 129 }, |
85 "name": "fetch-gn" | 130 "name": "fetch-gn" |
86 }, | 131 }, |
87 { | 132 { |
88 "cmd": [ | 133 "cmd": [ |
89 "gn", | 134 "gn", |
90 "gen", | 135 "gen", |
91 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug", | 136 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug", |
92 "--args=cc=\"[SLAVE_BUILD]/clang_linux/bin/clang\" cxx=\"[SLAVE_BUILD]/cla
ng_linux/bin/clang++\" extra_ldflags=\"-fuse-ld=lld\"" | 137 "--args=cc=\"[SLAVE_BUILD]/clang_linux/bin/clang\" cxx=\"[SLAVE_BUILD]/cla
ng_linux/bin/clang++\" extra_ldflags=\"-fuse-ld=lld\"" |
93 ], | 138 ], |
94 "cwd": "[CUSTOM_/_B_WORK]/skia", | 139 "cwd": "[CUSTOM_/_B_WORK]/skia", |
95 "env": { | 140 "env": { |
96 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" | 141 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" |
97 }, | 142 }, |
98 "name": "gn gen" | 143 "name": "gn gen" |
99 }, | 144 }, |
100 { | 145 { |
101 "cmd": [ | 146 "cmd": [ |
102 "ninja", | 147 "ninja", |
103 "-C", | 148 "-C", |
104 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug" | 149 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug" |
105 ], | 150 ], |
106 "cwd": "[CUSTOM_/_B_WORK]/skia", | 151 "cwd": "[CUSTOM_/_B_WORK]/skia", |
107 "env": { | 152 "env": { |
108 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" | 153 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" |
109 }, | 154 }, |
110 "name": "ninja" | 155 "name": "ninja" |
111 }, | 156 }, |
112 { | 157 { |
113 "cmd": [ | 158 "cmd": [ |
114 "python", | 159 "python", |
115 "-u", | 160 "-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", | 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", |
117 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug", | 162 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug", |
118 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" | 163 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" |
(...skipping 26 matching lines...) Expand all Loading... |
145 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 190 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
146 "@@@STEP_LOG_END@python.inline@@@" | 191 "@@@STEP_LOG_END@python.inline@@@" |
147 ] | 192 ] |
148 }, | 193 }, |
149 { | 194 { |
150 "name": "$result", | 195 "name": "$result", |
151 "recipe_result": null, | 196 "recipe_result": null, |
152 "status_code": 0 | 197 "status_code": 0 |
153 } | 198 } |
154 ] | 199 ] |
OLD | NEW |