Chromium Code Reviews| Index: infra/bots/compile_skia.py |
| diff --git a/infra/bots/compile_skia.py b/infra/bots/compile_skia.py |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ca2bfdff1748a873e2fcbae550322c2ea11fab95 |
| --- /dev/null |
| +++ b/infra/bots/compile_skia.py |
| @@ -0,0 +1,25 @@ |
| +#!/usr/bin/env python |
| +# |
| +# Copyright 2016 Google Inc. |
| +# |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| + |
| +import common |
| +import os |
|
rmistry
2016/02/18 15:29:21
unused
borenet
2016/02/18 15:40:56
Done.
|
| +import subprocess |
|
rmistry
2016/02/18 15:29:21
unused
borenet
2016/02/18 15:40:56
Done.
|
| +import sys |
| + |
| + |
| +def main(): |
| + if len(sys.argv) != 3: |
| + print >> sys.stderr, 'Usage: compile_skia.py <builder name> <out-dir>' |
| + sys.exit(1) |
| + bot = common.BotInfo(sys.argv[1], 'fake-slave', sys.argv[2]) |
| + for t in bot.build_targets: |
| + bot.flavor.compile(t) |
| + |
| + |
| +if __name__ == '__main__': |
| + main() |