| # Copyright 2014 The Native Client Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| # Workaround for arm-gcc bug: |
| # https://code.google.com/p/nativeclient/issues/detail?id=3205 |
| # TODO(sbc): remove this once the issue is fixed |
| if [ "${NACL_ARCH}" = "arm" ]; then |
| NACLPORTS_CPPFLAGS+=" -mfpu=vfp" |
| fi |
| |
| if [ "${NACL_LIBC}" = "newlib" ]; then |
| NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" |
| fi |
| |
| EXECUTABLES="convert libyuv_unittest" |
| |
| TestStep() { |
| if [ "${NACL_ARCH}" != pnacl ]; then |
| ./libyuv_unittest.sh |
| fi |
| } |