blob: 6d3a9b7a5deae836f98b9f9c68235980684e4767 [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
11GRADLE_ARGS = ['--no-daemon']
12BUILD_TARGETS = ['R8', 'D8', 'buildExampleJars', 'CompatDx',
13 'downloadAndroidCts', 'downloadDx']
14
15def Main():
16 gradle.RunGradle(GRADLE_ARGS + BUILD_TARGETS)
17
18if __name__ == '__main__':
19 sys.exit(Main())