blob: d55def11ce63a5c175e9711c4519b487fefe8860 [file] [log] [blame]
#!/usr/bin/env python
# Copyright (c) 2018, the R8 project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
# Utility script to make it easier to update what golem builds.
import gradle
import sys
GRADLE_ARGS = ['--no-daemon', '-Pno_internal']
BUILD_TARGETS = ['R8', 'D8', 'R8Lib', 'buildExampleJars', 'CompatDx',
'downloadAndroidCts', 'downloadDx']
def Main():
gradle.RunGradle(GRADLE_ARGS + BUILD_TARGETS)
if __name__ == '__main__':
sys.exit(Main())