blob: 1d8022e155863dcb9244df6dc5fa5a317dbf71b8 [file] [log] [blame]
# Point to pre-built version of gcc and libraries.
export GCC_TOOLCHAIN_ROOT=$REPO_ROOT/prebuilts/clang/darwin-x86/sdk/3.5
export PATH=$GCC_TOOLCHAIN_ROOT/bin:$PATH
export LD_LIBRARY_PATH=$GCC_TOOLCHAIN_ROOT/lib64:$LD_LIBRARY_PATH
# CC and CXX are used by go to find the c & c++ compilers.
export CC=clang
export CXX=clang++
export GOROOT=$REPO_ROOT/prebuilts/go/darwin-x86
export GOPATH=$GPU_BUILD_ROOT
# Add the pre-built go tools to the path.
export PATH=$GOROOT/bin:$PATH
export GOOS=darwin
export GOARCH=amd64
export CGO_ENABLED=1
# Use the prebuilts SDK.
export ANDROID_HOME=$REPO_ROOT/prebuilts/fullsdk/darwin