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

Unified Diff: ports/zlib/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
« ports/jpeg6b/build.sh ('K') | « ports/yajl/build.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/zlib/build.sh
diff --git a/ports/zlib/build.sh b/ports/zlib/build.sh
index 99815397c05b71200877daaf39d89aaba24899eb..4750888b9a0ca08c540d3af01e7119bcd40d9041 100644
--- a/ports/zlib/build.sh
+++ b/ports/zlib/build.sh
@@ -52,25 +52,13 @@ RunExample() {
}
TestStep() {
- if [ "${NACL_ARCH}" = "pnacl" ]; then
- local minigzip_pexe="minigzip${NACL_EXEEXT}"
- local example_pexe="example${NACL_EXEEXT}"
- local minigzip_script="minigzip"
- local example_script="example"
- TranslateAndWriteLauncherScript "${minigzip_pexe}" x86-32 \
- minigzip.x86-32.nexe "${minigzip_script}"
+ RunExample
+ RunMinigzip
+ if [ "${NACL_ARCH}" = "pnacl" ]; then
+ # Run the minigzip tests again but with x86-32 and arm translations
+ WriteLauncherScript minigzip minigzip.x86-32.nexe
RunMinigzip
- TranslateAndWriteLauncherScript "${minigzip_pexe}" x86-64 \
- minigzip.x86-64.nexe "${minigzip_script}"
+ WriteLauncherScript minigzip minigzip.arm.nexe
RunMinigzip
- TranslateAndWriteLauncherScript "${example_pexe}" x86-32 \
- example.x86-32.nexe "${example_script}"
- RunExample
- TranslateAndWriteLauncherScript "${example_pexe}" x86-64 \
- example.x86-64.nexe "${example_script}"
- RunExample
- else
- RunMinigzip
- RunExample
fi
}
« ports/jpeg6b/build.sh ('K') | « ports/yajl/build.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698