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

Side by Side Diff: ports/jpeg6b/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="\ 5 EXECUTABLES="\
6 cjpeg${NACL_EXEEXT} \ 6 cjpeg${NACL_EXEEXT} \
7 djpeg${NACL_EXEEXT} \ 7 djpeg${NACL_EXEEXT} \
8 jpegtran${NACL_EXEEXT} \ 8 jpegtran${NACL_EXEEXT} \
9 rdjpgcom${NACL_EXEEXT} \ 9 rdjpgcom${NACL_EXEEXT} \
10 wrjpgcom${NACL_EXEEXT}" 10 wrjpgcom${NACL_EXEEXT}"
(...skipping 12 matching lines...) Expand all
23 23
24 InstallStep() { 24 InstallStep() {
25 MakeDir ${DESTDIR}/${PREFIX}/include 25 MakeDir ${DESTDIR}/${PREFIX}/include
26 MakeDir ${DESTDIR}/${PREFIX}/lib 26 MakeDir ${DESTDIR}/${PREFIX}/lib
27 LogExecute make install-lib prefix=${DESTDIR}/${PREFIX} 27 LogExecute make install-lib prefix=${DESTDIR}/${PREFIX}
28 } 28 }
29 29
30 30
31 TestStep() { 31 TestStep() {
32 if [ ${NACL_ARCH} = "pnacl" ]; then 32 if [ ${NACL_ARCH} = "pnacl" ]; then
33 for arch in x86-32 x86-64; do 33 for arch in x86-32 x86-64; do
binji 2016/01/04 19:37:03 why not arm?
34 for exe in ${EXECUTABLES}; do 34 for exe in ${EXECUTABLES}; do
35 local exe_noext=${exe%.*} 35 local exe_noext=${exe%.*}
36 WriteLauncherScriptPNaCl ${exe_noext} ${exe_noext}.${arch}.nexe ${arch} 36 WriteLauncherScript ${exe_noext} ${exe_noext}.${arch}.nexe
37 done 37 done
38 make test 38 make test
39 done 39 done
40 else 40 else
41 make test 41 make test
42 fi 42 fi
43 } 43 }
OLDNEW
« ports/fftw-float/build.sh ('K') | « ports/giflib/build.sh ('k') | ports/jpeg8d/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698