aboutsummaryrefslogtreecommitdiffhomepage
path: root/compile.sh
diff options
context:
space:
mode:
authorGravatar Kristina Chodorow <kchodorow@google.com>2015-02-27 17:14:12 +0000
committerGravatar Ulf Adams <ulfjack@google.com>2015-03-05 14:15:41 +0000
commit91876f004def4a7858bb614091a6cd2fbef681fc (patch)
treec4d4e1473f7c327f8014443998f129fb7563057d /compile.sh
parent79f052118e94c418247c4ea0ba6fcd3a35ca7e0d (diff)
Make Rule know about the name of the workspace it is in.
This is needed for taking the runfiles prefix from the WORKSPACE file instead of hardcoding it. -- MOS_MIGRATED_REVID=87347883
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/compile.sh b/compile.sh
index fde544c354..2b46d50784 100755
--- a/compile.sh
+++ b/compile.sh
@@ -409,12 +409,13 @@ if [[ $PLATFORM == "linux" ]]; then
fi
cp src/main/tools/build_interface_so output/build_interface_so
+cp src/main/tools/jdk.WORKSPACE output/jdk.WORKSPACE
touch output/client_info
chmod 755 output/client_info
log "Creating Bazel self-extracting archive..."
-TO_ZIP="libblaze.jar ${JNILIB} build-runfiles${EXE_EXT} process-wrapper${EXE_EXT} client_info build_interface_so ${MSYS_DLLS}"
+TO_ZIP="libblaze.jar ${JNILIB} build-runfiles${EXE_EXT} process-wrapper${EXE_EXT} client_info build_interface_so ${MSYS_DLLS} jdk.WORKSPACE"
if [[ $PLATFORM == "linux" ]]; then
TO_ZIP="$TO_ZIP namespace-sandbox${EXE_EXT}"
fi