diff options
author | borenet <borenet@google.com> | 2016-02-18 08:05:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-18 08:05:48 -0800 |
commit | d9fa758292462c4200231f49286aa97750f5e689 (patch) | |
tree | a8c8b7cd785c4254d522f3b2900af92fe1147e9c /infra/bots/compile_skia.py | |
parent | e1fce93f36d7b73df9942135dc5a342b629e6b3a (diff) |
Port Skia recipe to normal Python scripts, move to Skia repo
BUG=skia:4763
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1703663002
Review URL: https://codereview.chromium.org/1703663002
Diffstat (limited to 'infra/bots/compile_skia.py')
-rw-r--r-- | infra/bots/compile_skia.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/infra/bots/compile_skia.py b/infra/bots/compile_skia.py new file mode 100644 index 0000000000..b3b625121f --- /dev/null +++ b/infra/bots/compile_skia.py @@ -0,0 +1,23 @@ +#!/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 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() |