OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # | 2 # |
3 # Copyright 2016 Google Inc. | 3 # Copyright 2016 Google Inc. |
4 # | 4 # |
5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
7 | 7 |
8 | 8 |
9 import common | 9 import common |
10 import sys | 10 import sys |
11 | 11 |
12 | 12 |
13 def main(): | 13 def main(): |
14 if len(sys.argv) != 3: | 14 if len(sys.argv) != 3: |
15 print >> sys.stderr, 'Usage: compile_skia.py <builder name> <out-dir>' | 15 print >> sys.stderr, 'Usage: compile_skia.py <builder name> <swarm out dir>' |
16 sys.exit(1) | 16 sys.exit(1) |
17 bot = common.BotInfo(sys.argv[1], 'fake-slave', sys.argv[2]) | 17 bot = common.BotInfo(sys.argv[1], sys.argv[2]) |
18 for t in bot.build_targets: | 18 bot.compile_steps() |
19 bot.flavor.compile(t) | |
20 | 19 |
21 | 20 |
22 if __name__ == '__main__': | 21 if __name__ == '__main__': |
23 main() | 22 main() |
OLD | NEW |