History log of /art/tools/golem/build-target.sh
Revision Date Author Comments
7b44ac0dc47a67f646c0683ca5f16d98265df855 18-Oct-2017 Dan Willemsen <dwillemsen@google.com> tools: Use soong_ui instead of make

Switch to soong_ui to dump make variables, which ensures a consistent
parser for the product makefiles, and may provide other benefits, like
sandboxed executions.

Use soong_ui rather than the legacy make startup wrapper, which just
calls soong_ui. This allows us to automatically set the parallelism if
-j is omitted, so remove the default here and let soong_ui choose an
appropriate value for your machine.

Test: art/tools/golem/build-target.sh --machine-type=android-armv8
Test: art/tools/golem/build-target.sh --machine-type=android-armv8 --golem=art-opt-cc
Change-Id: I39c838b7198658534f6cadc64159f59b3ffdd38c
2553887b8dd264497a8589ddddad9d5f8260b0a2 01-Mar-2017 Igor Murashkin <iam@google.com> tools: Add golem/build-target and golem/env scripts.

Refactor the golem build logic back into the art directory.

Usage example:

# set environment variables to build art-opt-cc
# creates android-armv8.tar.gz, which contains
# 'dalvikvm' and its libraries that can be used in
# golem
art/tools/golem/build-target.sh -j32 --showcommands \
--machine-type=android-armv8 --golem=art-opt-cc \
--tarball=android-armv8.tar.gz
# (drop the --golem to build with your own lunch combo)

The intent here is to move the logic of building the ART binaries
back into ART directory. This makes it easier to keep the two in sync,
and makes it easier for us to change it later to run from a
regular master build instead of a special golem-only master-art build.

Bug: 35766356
Change-Id: I9c9d7f522da3f850bc841d4c1f6e42c3055b8746