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