d49bf89ac7ac075b3daf582482c4becd7867613e
[platform/upstream/libSkiaSharp.git] /
1 [
2   {
3     "cmd": [
4       "python",
5       "-u",
6       "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
7       "[START_DIR]/skia/infra/bots/assets/skp/VERSION",
8       "/path/to/tmp/"
9     ],
10     "infra_step": true,
11     "name": "Get downloaded SKP VERSION"
12   },
13   {
14     "cmd": [
15       "python",
16       "-u",
17       "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
18       "42",
19       "[START_DIR]/tmp/SKP_VERSION"
20     ],
21     "infra_step": true,
22     "name": "write SKP_VERSION"
23   },
24   {
25     "cmd": [
26       "python",
27       "-u",
28       "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
29       "[START_DIR]/skia/infra/bots/assets/skimage/VERSION",
30       "/path/to/tmp/"
31     ],
32     "infra_step": true,
33     "name": "Get downloaded skimage VERSION"
34   },
35   {
36     "cmd": [
37       "python",
38       "-u",
39       "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
40       "42",
41       "[START_DIR]/tmp/SK_IMAGE_VERSION"
42     ],
43     "infra_step": true,
44     "name": "write SK_IMAGE_VERSION"
45   },
46   {
47     "cmd": [
48       "python",
49       "-u",
50       "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
51       "[START_DIR]/skia/infra/bots/assets/svg/VERSION",
52       "/path/to/tmp/"
53     ],
54     "infra_step": true,
55     "name": "Get downloaded SVG VERSION"
56   },
57   {
58     "cmd": [
59       "python",
60       "-u",
61       "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
62       "42",
63       "[START_DIR]/tmp/SVG_VERSION"
64     ],
65     "infra_step": true,
66     "name": "write SVG_VERSION"
67   },
68   {
69     "cmd": [
70       "python",
71       "-u",
72       "RECIPE_MODULE[build::file]/resources/fileutil.py",
73       "rmtree",
74       "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release-GN/data"
75     ],
76     "env": {
77       "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts"
78     },
79     "infra_step": true,
80     "name": "rmtree data"
81   },
82   {
83     "cmd": [
84       "python",
85       "-u",
86       "\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",
87       "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release-GN/data",
88       "511"
89     ],
90     "infra_step": true,
91     "name": "makedirs data",
92     "~followup_annotations": [
93       "@@@STEP_LOG_LINE@python.inline@@@@",
94       "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
95       "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
96       "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
97       "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
98       "@@@STEP_LOG_LINE@python.inline@  if os.path.exists(path):@@@",
99       "@@@STEP_LOG_LINE@python.inline@    print \"%s exists but is not a dir\" % path@@@",
100       "@@@STEP_LOG_LINE@python.inline@    sys.exit(1)@@@",
101       "@@@STEP_LOG_LINE@python.inline@  os.makedirs(path, mode)@@@",
102       "@@@STEP_LOG_END@python.inline@@@"
103     ]
104   },
105   {
106     "cmd": [
107       "[START_DIR]/out/Release/nanobench",
108       "--undefok",
109       "-i",
110       "[START_DIR]/skia/resources",
111       "--skps",
112       "[START_DIR]/skp",
113       "--images",
114       "[START_DIR]/skimage/nanobench",
115       "--svgs",
116       "[START_DIR]/svg",
117       "--nogpu",
118       "--pre_log",
119       "--scales",
120       "1.0",
121       "1.1",
122       "--config",
123       "8888",
124       "nonrendering",
125       "hwui",
126       "f16",
127       "srgb",
128       "gl",
129       "glmsaa8",
130       "glnvpr8",
131       "glnvprdit8",
132       "glinst",
133       "glinst8",
134       "--match",
135       "~inc0.gif",
136       "~inc1.gif",
137       "~incInterlaced.gif",
138       "~inc0.jpg",
139       "~incGray.jpg",
140       "~inc0.wbmp",
141       "~inc1.wbmp",
142       "~inc0.webp",
143       "~inc1.webp",
144       "~inc0.ico",
145       "~inc1.ico",
146       "~inc0.png",
147       "~inc1.png",
148       "~inc2.png",
149       "~inc12.png",
150       "~inc13.png",
151       "~inc14.png",
152       "~inc0.webp",
153       "~inc1.webp",
154       "--outResultsFile",
155       "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release-GN/data/nanobench_abc123_1337000001.json",
156       "--properties",
157       "gitHash",
158       "abc123",
159       "build_number",
160       "5",
161       "--key",
162       "arch",
163       "x86_64",
164       "compiler",
165       "Clang",
166       "cpu_or_gpu",
167       "CPU",
168       "cpu_or_gpu_value",
169       "AVX",
170       "extra_config",
171       "GN",
172       "model",
173       "MacMini6.2",
174       "os",
175       "Mac"
176     ],
177     "env": {
178       "BUILDTYPE": "Release",
179       "CHROME_HEADLESS": "1",
180       "SKIA_OUT": "[START_DIR]/out"
181     },
182     "name": "nanobench"
183   },
184   {
185     "cmd": [
186       "python",
187       "-u",
188       "\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",
189       "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release-GN/data",
190       "511"
191     ],
192     "name": "makedirs perf_dir",
193     "~followup_annotations": [
194       "@@@STEP_LOG_LINE@python.inline@@@@",
195       "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
196       "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
197       "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
198       "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
199       "@@@STEP_LOG_LINE@python.inline@  if os.path.exists(path):@@@",
200       "@@@STEP_LOG_LINE@python.inline@    print \"%s exists but is not a dir\" % path@@@",
201       "@@@STEP_LOG_LINE@python.inline@    sys.exit(1)@@@",
202       "@@@STEP_LOG_LINE@python.inline@  os.makedirs(path, mode)@@@",
203       "@@@STEP_LOG_END@python.inline@@@"
204     ]
205   },
206   {
207     "name": "$result",
208     "recipe_result": null,
209     "status_code": 0
210   }
211 ]