OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "git", | 4 "git", |
5 "fetch" | 5 "fetch" |
6 ], | 6 ], |
7 "cwd": "[SLAVE_BUILD]/skia", | 7 "cwd": "[SLAVE_BUILD]/skia", |
8 "name": "git fetch" | 8 "name": "git fetch" |
9 }, | 9 }, |
10 { | 10 { |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 "env": { | 123 "env": { |
124 "BUILDTYPE": "Release", | 124 "BUILDTYPE": "Release", |
125 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", | 125 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
126 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Perf-Android-GCC-Nexus5-GPU-Adreno330-
Arm7-Release-Appurify" | 126 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Perf-Android-GCC-Nexus5-GPU-Adreno330-
Arm7-Release-Appurify" |
127 }, | 127 }, |
128 "name": "has ccache?", | 128 "name": "has ccache?", |
129 "stdout": "/path/to/tmp/" | 129 "stdout": "/path/to/tmp/" |
130 }, | 130 }, |
131 { | 131 { |
132 "cmd": [ | 132 "cmd": [ |
| 133 "python", |
| 134 "-u", |
| 135 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists(
sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", |
| 136 "[SLAVE_BUILD]/skia/platform_tools/android/apps/visualbench/src/main/asset
s" |
| 137 ], |
| 138 "cwd": "[SLAVE_BUILD]", |
| 139 "name": "rmtree assets", |
| 140 "~followup_annotations": [ |
| 141 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 142 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 143 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", |
| 144 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 145 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 146 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 147 "@@@STEP_LOG_END@python.inline@@@" |
| 148 ] |
| 149 }, |
| 150 { |
| 151 "cmd": [ |
| 152 "python", |
| 153 "-u", |
| 154 "\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", |
| 155 "[SLAVE_BUILD]/skia/platform_tools/android/apps/visualbench/src/main/asset
s", |
| 156 "511" |
| 157 ], |
| 158 "cwd": "[SLAVE_BUILD]", |
| 159 "name": "makedirs assets", |
| 160 "~followup_annotations": [ |
| 161 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 162 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 163 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 164 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 165 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 166 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 167 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 168 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 169 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 170 "@@@STEP_LOG_END@python.inline@@@" |
| 171 ] |
| 172 }, |
| 173 { |
| 174 "cmd": [ |
| 175 "python", |
| 176 "-u", |
| 177 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 178 "--dummy-flags --outResultsFile /sdcard/skia_results/visualbench.json", |
| 179 "[SLAVE_BUILD]/skia/platform_tools/android/apps/visualbench/src/main/asset
s/nanobench_flags.txt" |
| 180 ], |
| 181 "cwd": "[SLAVE_BUILD]", |
| 182 "name": "write nanobench_flags.txt" |
| 183 }, |
| 184 { |
| 185 "cmd": [ |
133 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_ninja", | 186 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_ninja", |
134 "VisualBenchTest_APK", | 187 "VisualBenchTest_APK", |
135 "-d", | 188 "-d", |
136 "arm_v7" | 189 "arm_v7" |
137 ], | 190 ], |
138 "cwd": "[SLAVE_BUILD]/skia", | 191 "cwd": "[SLAVE_BUILD]/skia", |
139 "env": { | 192 "env": { |
140 "ANDROID_HOME": "/home/chrome-bot/android-sdk-linux", | 193 "ANDROID_HOME": "/home/chrome-bot/android-sdk-linux", |
141 "ANDROID_MAKE_CCACHE": "/usr/bin/ccache", | 194 "ANDROID_MAKE_CCACHE": "/usr/bin/ccache", |
142 "ANDROID_SDK_ROOT": "/home/chrome-bot/android-sdk-linux", | 195 "ANDROID_SDK_ROOT": "/home/chrome-bot/android-sdk-linux", |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 "env": { | 395 "env": { |
343 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", | 396 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", |
344 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto", | 397 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto", |
345 "BUILDTYPE": "Release", | 398 "BUILDTYPE": "Release", |
346 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", | 399 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0", |
347 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Perf-Android-GCC-Nexus5-GPU-Adreno330-
Arm7-Release-Appurify" | 400 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Perf-Android-GCC-Nexus5-GPU-Adreno330-
Arm7-Release-Appurify" |
348 }, | 401 }, |
349 "name": "Upload Nanobench Results" | 402 "name": "Upload Nanobench Results" |
350 } | 403 } |
351 ] | 404 ] |
OLD | NEW |