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

Side by Side Diff: ports/devil/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) 2013 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2013 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 if [ "${NACL_ARCH}" = "pnacl" ]; then 5 if [ "${NACL_ARCH}" = "pnacl" ]; then
6 NACLPORTS_CFLAGS+=" -std=gnu89" 6 NACLPORTS_CFLAGS+=" -std=gnu89"
7 fi 7 fi
8 8
9 TestStep() { 9 TestStep() {
10 return 0 10 return 0
11 11
12 if [ ${NACL_ARCH} == "pnacl" ]; then 12 if [ ${NACL_ARCH} == "pnacl" ]; then
13 # Run once for each architecture. 13 # Run once for each architecture.
14 local pexe=test/testil
15 local script=${pexe}.sh
16 14
17 TranslateAndWriteLauncherScript ${pexe} x86-32 ${pexe}.x86-32.nexe ${script} 15 WriteLauncherScript test/testil testil.x86-32.nexe
18 (cd test && make check) 16 (cd test && make check)
19 17
20 TranslateAndWriteLauncherScript ${pexe} x86-64 ${pexe}.x86-64.nexe ${script} 18 WriteLauncherScript test/testil testil.x86-64.nexe
21 (cd test && make check) 19 (cd test && make check)
22 else 20 else
23 local nexe=test/testil
24 local script=${nexe}.sh
25
26 WriteLauncherScript ${script} ${nexe}
27
28 (cd test && make check) 21 (cd test && make check)
29 fi 22 fi
30 } 23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698