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

Unified Diff: ports/jpeg8d/build.sh

Issue 1556933002: Remove redundant pnacl translations (Closed) Base URL: https://chromium.googlesource.com/webports.git@master
Patch Set: Created 4 years, 12 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
Index: ports/jpeg8d/build.sh
diff --git a/ports/jpeg8d/build.sh b/ports/jpeg8d/build.sh
index d8248266a1b50a158d7347c10dd49b47c6929ce2..9ae53c589a30cafeb0596efcac0cf75c92f6a2c1 100644
--- a/ports/jpeg8d/build.sh
+++ b/ports/jpeg8d/build.sh
@@ -7,21 +7,22 @@ EXECUTABLES="rdjpgcom${NACL_EXEEXT} wrjpgcom${NACL_EXEEXT} \
TestStep() {
export SEL_LDR_LIB_PATH=$PWD/.libs
- if [ "${NACL_ARCH}" = "pnacl" ]; then
- for arch in x86-32 x86-64; do
+
+ if [[ ${NACL_SHARED} == 1 ]]; then
+ for exe in ${EXECUTABLES}; do
+ local script=$(basename ${exe%.*})
+ WriteLauncherScript ${script} ${exe}
+ done
+ fi
+ LogExecute make test
+
+ if [[ ${NACL_ARCH} == pnacl ]]; then
+ for arch in x86-32 arm; do
for exe in ${EXECUTABLES}; do
local exe_noext=${exe%.*}
- WriteLauncherScriptPNaCl ${exe_noext} ${exe_noext}.${arch}.nexe ${arch}
+ WriteLauncherScript ${exe_noext} ${exe_noext}.${arch}.nexe
done
- make test
+ LogExecute make test
done
- else
- if [ "${NACL_SHARED}" = "1" ]; then
- for exe in ${EXECUTABLES}; do
- local script=$(basename ${exe%.*})
- WriteLauncherScript ${script} ${exe}
- done
- fi
- make test
fi
}
« ports/jpeg6b/build.sh ('K') | « ports/jpeg6b/build.sh ('k') | ports/lua/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698