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

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

Issue 1555913002: Build gtest from source rather than using SDK-provided version (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
« no previous file with comments | « ports/gtest/pkg_info ('k') | ports/libyuv/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 2014 The Native Client Authors. All rights reserved. 1 # Copyright 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 EXECUTABLES="convert libyuv_unittest" 5 EXECUTABLES="convert libyuv_unittest"
6 6
7 # Workaround for arm-gcc bug: 7 # Workaround for arm-gcc bug:
8 # https://code.google.com/p/nativeclient/issues/detail?id=3205 8 # https://code.google.com/p/nativeclient/issues/detail?id=3205
9 # TODO(sbc): remove this once the issue is fixed 9 # TODO(sbc): remove this once the issue is fixed
10 if [ "${NACL_ARCH}" = "arm" ]; then 10 if [ "${NACL_ARCH}" = "arm" ]; then
11 NACLPORTS_CPPFLAGS+=" -mfpu=vfp" 11 NACLPORTS_CPPFLAGS+=" -mfpu=vfp"
12 fi 12 fi
13 13
14 EnableGlibcCompat 14 EnableGlibcCompat
15 15
16 if [ "${NACL_ARCH}" = "x86_64" ]; then 16 if [ "${NACL_ARCH}" = "x86_64" ]; then
17 NACLPORTS_CPPFLAGS+=" -DLIBYUV_DISABLE_X86=1" 17 NACLPORTS_CPPFLAGS+=" -DLIBYUV_DISABLE_X86=1"
18 fi 18 fi
19 19
20 EXTRA_CMAKE_ARGS="-DTEST=ON" 20 EXTRA_CMAKE_ARGS="-DTEST=ON"
21 EXTRA_CMAKE_ARGS+=" -DGTEST_SRC_DIR=${GTEST_SRC}"
21 22
22 TestStep() { 23 TestStep() {
23 # TODO(sbc): re-enable i686 testing once we fix this gtest-releated issue: 24 # TODO(sbc): re-enable i686 testing once we fix this gtest-releated issue:
24 # http://crbug.com/434821 25 # http://crbug.com/434821
25 if [ "${NACL_ARCH}" = "i686" ]; then 26 if [ "${NACL_ARCH}" = "i686" ]; then
26 return 27 return
27 fi 28 fi
28 if [ "${NACL_ARCH}" = pnacl ]; then 29 if [ "${NACL_ARCH}" = pnacl ]; then
29 return 30 return
30 fi 31 fi
31 LogExecute ./libyuv_unittest.sh --gtest_filter=-libyuvTest.ARGBRect_Unaligned 32 LogExecute ./libyuv_unittest.sh --gtest_filter=-libyuvTest.ARGBRect_Unaligned
32 } 33 }
OLDNEW
« no previous file with comments | « ports/gtest/pkg_info ('k') | ports/libyuv/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698