blob: 24a19069e7cf264c21d63a8ea9fc5ab87c78ad93 [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',
'downloadAndroidCts', 'downloadDx']
def Main():
gradle.RunGradle(GRADLE_ARGS + BUILD_TARGETS)
if __name__ == '__main__':
sys.exit(Main())