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

Side by Side Diff: ports/leveldb/build.sh

Issue 1596603003: leveldb: update upstream verison 1.17 -> 1.18 (Closed) Base URL: https://chromium.googlesource.com/webports.git@update_leveldb
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
« no previous file with comments | « docs/port_list.md ('k') | ports/leveldb/nacl.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # All these tests rely on mkdir() working, and currently 5 # All these tests rely on mkdir() working, and currently
6 # neither newlib or glibc has mkdir plumbed through to the 6 # neither newlib or glibc has mkdir plumbed through to the
7 # IRT. 7 # IRT.
8 #autocompact_test 8 #autocompact_test
9 #corruption_test 9 #corruption_test
10 #db_test 10 #db_test
(...skipping 13 matching lines...) Expand all
24 filter_block_test \ 24 filter_block_test \
25 log_test \ 25 log_test \
26 memenv_test \ 26 memenv_test \
27 skiplist_test \ 27 skiplist_test \
28 version_edit_test \ 28 version_edit_test \
29 version_set_test \ 29 version_set_test \
30 write_batch_test" 30 write_batch_test"
31 31
32 BUILD_DIR=${SRC_DIR} 32 BUILD_DIR=${SRC_DIR}
33 33
34
34 BuildStep() { 35 BuildStep() {
35 export TARGET_OS=NaCl 36 export TARGET_OS=NaCl
36 export AR=${NACLAR} 37 export AR=${NACLAR}
37 export CC=${NACLCC} 38 export CC=${NACLCC}
38 export CXX=${NACLCXX} 39 export CXX=${NACLCXX}
39 LogExecute make clean 40 LogExecute make clean
40 LogExecute make -j${OS_JOBS} OPT="" 41 LogExecute make -j${OS_JOBS} OPT=""
41 LogExecute make -j${OS_JOBS} OPT="" tests programs 42 LogExecute make -j${OS_JOBS} OPT="" tests programs
42 } 43 }
43 44
44 InstallStep() { 45 InstallStep() {
45 MakeDir ${DESTDIR_LIB} 46 MakeDir ${DESTDIR_LIB}
46 MakeDir ${DESTDIR_INCLUDE} 47 MakeDir ${DESTDIR_INCLUDE}
47 LogExecute cp libleveldb.a ${DESTDIR_LIB} 48 LogExecute cp libleveldb.a ${DESTDIR_LIB}
48 LogExecute cp -r include/leveldb ${DESTDIR_INCLUDE} 49 LogExecute cp -r include/leveldb ${DESTDIR_INCLUDE}
49 } 50 }
50 51
51 TestStep() { 52 TestStep() {
52 if [ "${NACL_ARCH}" = "pnacl" ]; then 53 if [ "${NACL_ARCH}" = "pnacl" ]; then
53 return 54 return
54 fi 55 fi
55 56
56 for test_binary in $EXECUTABLES; do 57 for test_binary in $EXECUTABLES; do
57 echo "***** Running $test_binary.sh" 58 echo "***** Running $test_binary.sh"
58 ./$test_binary.sh 59 ./$test_binary.sh
59 done 60 done
60 } 61 }
OLDNEW
« no previous file with comments | « docs/port_list.md ('k') | ports/leveldb/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698