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

Side by Side 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, 11 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 EXECUTABLES="rdjpgcom${NACL_EXEEXT} wrjpgcom${NACL_EXEEXT} \ 5 EXECUTABLES="rdjpgcom${NACL_EXEEXT} wrjpgcom${NACL_EXEEXT} \
6 cjpeg${NACL_EXEEXT} djpeg${NACL_EXEEXT} jpegtran${NACL_EXEEXT}" 6 cjpeg${NACL_EXEEXT} djpeg${NACL_EXEEXT} jpegtran${NACL_EXEEXT}"
7 7
8 TestStep() { 8 TestStep() {
9 export SEL_LDR_LIB_PATH=$PWD/.libs 9 export SEL_LDR_LIB_PATH=$PWD/.libs
10 if [ "${NACL_ARCH}" = "pnacl" ]; then 10
11 for arch in x86-32 x86-64; do 11 if [[ ${NACL_SHARED} == 1 ]]; then
12 for exe in ${EXECUTABLES}; do
13 local script=$(basename ${exe%.*})
14 WriteLauncherScript ${script} ${exe}
15 done
16 fi
17 LogExecute make test
18
19 if [[ ${NACL_ARCH} == pnacl ]]; then
20 for arch in x86-32 arm; do
12 for exe in ${EXECUTABLES}; do 21 for exe in ${EXECUTABLES}; do
13 local exe_noext=${exe%.*} 22 local exe_noext=${exe%.*}
14 WriteLauncherScriptPNaCl ${exe_noext} ${exe_noext}.${arch}.nexe ${arch} 23 WriteLauncherScript ${exe_noext} ${exe_noext}.${arch}.nexe
15 done 24 done
16 make test 25 LogExecute make test
17 done 26 done
18 else
19 if [ "${NACL_SHARED}" = "1" ]; then
20 for exe in ${EXECUTABLES}; do
21 local script=$(basename ${exe%.*})
22 WriteLauncherScript ${script} ${exe}
23 done
24 fi
25 make test
26 fi 27 fi
27 } 28 }
OLDNEW
« 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