| OLD | NEW |
| 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2014 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 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB}" | 5 EnableCliMain |
| 6 NACLPORTS_CPPFLAGS+=" -Dpipe=nacl_spawn_pipe" | 6 NACLPORTS_CPPFLAGS+=" -Dpipe=nacl_spawn_pipe" |
| 7 | 7 |
| 8 EXECUTABLES="tests/devenv_small_test_${NACL_ARCH}${NACL_EXEEXT} \ | 8 EXECUTABLES="tests/devenv_small_test_${NACL_ARCH}${NACL_EXEEXT} \ |
| 9 jseval/jseval_${NACL_ARCH}${NACL_EXEEXT}" | 9 jseval/jseval_${NACL_ARCH}${NACL_EXEEXT}" |
| 10 | 10 |
| 11 STORAGE_URL=https://naclports.storage.googleapis.com/builds | 11 STORAGE_URL=https://naclports.storage.googleapis.com/builds |
| 12 SDK_VERSION=pepper_48 | 12 SDK_VERSION=pepper_48 |
| 13 BUILT_REVISION=trunk-703-gdb4edd8 | 13 BUILT_REVISION=trunk-703-gdb4edd8 |
| 14 DEFAULT_SOURCE=${STORAGE_URL}/${SDK_VERSION}/${BUILT_REVISION}/publish | 14 DEFAULT_SOURCE=${STORAGE_URL}/${SDK_VERSION}/${BUILT_REVISION}/publish |
| 15 LOCAL_SOURCE=http://localhost:5103 | 15 LOCAL_SOURCE=http://localhost:5103 |
| 16 | 16 |
| 17 BuildStep() { | 17 BuildStep() { |
| 18 SetupCrossEnvironment | 18 SetupCrossEnvironment |
| 19 | 19 |
| 20 # Build jseval module. | 20 # Build jseval module. |
| 21 MakeDir ${BUILD_DIR}/jseval | 21 MakeDir ${BUILD_DIR}/jseval |
| 22 LogExecute ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -O2 \ | 22 LogExecute ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -O2 \ |
| 23 ${START_DIR}/jseval.c \ | 23 ${START_DIR}/jseval.c \ |
| 24 -o ${BUILD_DIR}/jseval/jseval_${NACL_ARCH}${NACL_EXEEXT} \ | 24 -o ${BUILD_DIR}/jseval/jseval_${NACL_ARCH}${NACL_EXEEXT} \ |
| 25 ${EXTRA_LIBS} | 25 ${LIBS} |
| 26 | 26 |
| 27 # Build test module. | 27 # Build test module. |
| 28 MakeDir ${BUILD_DIR}/tests | 28 MakeDir ${BUILD_DIR}/tests |
| 29 LogExecute ${CXX} ${CPPFLAGS} ${CXXFLAGS} ${LDFLAGS} -g \ | 29 LogExecute ${CXX} ${CPPFLAGS} ${CXXFLAGS} ${LDFLAGS} -g \ |
| 30 ${START_DIR}/tests/devenv_small_test.cc \ | 30 ${START_DIR}/tests/devenv_small_test.cc \ |
| 31 -o ${BUILD_DIR}/tests/devenv_small_test_${NACL_ARCH}${NACL_EXEEXT} \ | 31 -o ${BUILD_DIR}/tests/devenv_small_test_${NACL_ARCH}${NACL_EXEEXT} \ |
| 32 -lgtest ${EXTRA_LIBS} | 32 -lgtest ${LIBS} |
| 33 } | 33 } |
| 34 | 34 |
| 35 InstallStep() { | 35 InstallStep() { |
| 36 return | 36 return |
| 37 } | 37 } |
| 38 | 38 |
| 39 # | 39 # |
| 40 # $1: Name of directory in which to create the conf file. | 40 # $1: Name of directory in which to create the conf file. |
| 41 # $2: The http address of repo. | 41 # $2: The http address of repo. |
| 42 # | 42 # |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 # by the buildbots | 174 # by the buildbots |
| 175 # TODO(sbc): reenable this. | 175 # TODO(sbc): reenable this. |
| 176 #if [[ "${BUILDBOT_BUILDERNAME:-}" != "" ]]; then | 176 #if [[ "${BUILDBOT_BUILDERNAME:-}" != "" ]]; then |
| 177 #LogExecute python ${START_DIR}/../devenv/devenv_large_test.py \ | 177 #LogExecute python ${START_DIR}/../devenv/devenv_large_test.py \ |
| 178 #-x -vv -a ${arch} | 178 #-x -vv -a ${arch} |
| 179 #LogExecute python ${START_DIR}/../devenv/io2014_test.py \ | 179 #LogExecute python ${START_DIR}/../devenv/io2014_test.py \ |
| 180 #-x -vv -a ${arch} | 180 #-x -vv -a ${arch} |
| 181 #fi | 181 #fi |
| 182 done | 182 done |
| 183 } | 183 } |
| OLD | NEW |