Rico Wind | c511e94 | 2018-05-22 10:46:31 +0200 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | # Copyright (c) 2018, the R8 project authors. Please see the AUTHORS file |
| 3 | # for details. All rights reserved. Use of this source code is governed by a |
| 4 | # BSD-style license that can be found in the LICENSE file. |
| 5 | |
| 6 | # Utility script to make it easier to update what golem builds. |
| 7 | |
| 8 | import gradle |
| 9 | import sys |
| 10 | |
Morten Krogh-Jespersen | cc5c7d0 | 2019-01-10 19:57:15 +0100 | [diff] [blame] | 11 | GRADLE_ARGS = ['--no-daemon'] |
| 12 | BUILD_TARGETS = ['R8', 'D8', 'R8LibApiOnly', 'buildExampleJars', 'CompatDx', |
Morten Krogh-Jespersen | 480784d | 2019-02-05 08:10:46 +0100 | [diff] [blame] | 13 | 'downloadAndroidCts', 'downloadDx'] |
Rico Wind | c511e94 | 2018-05-22 10:46:31 +0200 | [diff] [blame] | 14 | |
| 15 | def Main(): |
| 16 | gradle.RunGradle(GRADLE_ARGS + BUILD_TARGETS) |
| 17 | |
| 18 | if __name__ == '__main__': |
| 19 | sys.exit(Main()) |