Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Unified Diff: tools/llvm/utman.sh

Issue 6825060: Rename PNaCl (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/llvm/non_bitcode_symbols.txt ('k') | tools/toolchain_tester/toolchain_config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/llvm/utman.sh
===================================================================
--- tools/llvm/utman.sh (revision 4818)
+++ tools/llvm/utman.sh (working copy)
@@ -12,10 +12,10 @@
# Directory Layout Description
######################################################################
# All directories are relative to BASE which is
-# currently native_client/toolchain/linux_arm-untrusted
+# On Linux X86-64: native_client/toolchain/pnacl_linux_x86_64/
+# On Linux X86-32: native_client/toolchain/pnacl_linux_i686/
+# On Mac X86-32 : native_client/toolchain/pnacl_darwin_i386/
#
-# TODO(robertm): arm layout needs to be described
-
# /x86-32sfi-lib [experimental] x86 sandboxed libraries and object files
# /x86-32sfi-tools [experimental] x86-32 crosstool binaries for building
# and linking x86-32 nexes
@@ -54,7 +54,7 @@
readonly BINUTILS_TARGET=arm-pc-nacl
readonly REAL_CROSS_TARGET=pnacl
-readonly INSTALL_ROOT="$(pwd)/toolchain/linux_arm-untrusted"
+readonly INSTALL_ROOT="$(pwd)/toolchain/pnacl_${BUILD_PLATFORM}_${BUILD_ARCH}"
readonly INSTALL_BIN="${INSTALL_ROOT}/bin"
readonly ARM_ARCH=armv7-a
readonly ARM_FPU=vfp
@@ -535,7 +535,10 @@
download-toolchains
- mv "${installdir}" "${dldir}"
+ if [ -d "${installdir}" ]; then
+ mv "${installdir}" "${dldir}"
+ fi
+
if [ -d "${tmpdir}" ]; then
mv "${tmpdir}" "${installdir}"
fi
@@ -1378,7 +1381,7 @@
sel_ldr
rm -rf "${INSTALL_ROOT}/tools-arm"
mkdir "${INSTALL_ROOT}/tools-arm"
- local sconsdir="scons-out/opt-${BUILD_PLATFORM}-arm"
+ local sconsdir="scons-out/opt-${SCONS_BUILD_PLATFORM}-arm"
cp "${sconsdir}/obj/src/trusted/service_runtime/sel_ldr" \
"${INSTALL_ROOT}/tools-arm"
else
« no previous file with comments | « tools/llvm/non_bitcode_symbols.txt ('k') | tools/toolchain_tester/toolchain_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698