blob: 30d46bc039c3a668c487537a043f0f08d76f44f7 [file] [log] [blame]
Rico Windc511e942018-05-22 10:46:31 +02001#!/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
8import gradle
9import sys
10
Morten Krogh-Jespersencc5c7d02019-01-10 19:57:15 +010011GRADLE_ARGS = ['--no-daemon']
12BUILD_TARGETS = ['R8', 'D8', 'R8LibApiOnly', 'buildExampleJars', 'CompatDx',
Morten Krogh-Jespersen480784d2019-02-05 08:10:46 +010013 'downloadAndroidCts', 'downloadDx']
Rico Windc511e942018-05-22 10:46:31 +020014
15def Main():
16 gradle.RunGradle(GRADLE_ARGS + BUILD_TARGETS)
17
18if __name__ == '__main__':
19 sys.exit(Main())