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

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

Issue 1409393006: Add libvpx port (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 1 month 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/ffmpeg/pkg_info ('k') | ports/libvpx/pkg_info » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 OS_JOBS=1
6
7 if [[ ${NACL_LIBC} == newlib ]]; then
8 NACLPORTS_CXXFLAGS+=" -std=gnu++11"
9 fi
10
11 if [[ ${NACL_ARCH} == arm && ${TOOLCHAIN} == glibc ]]; then
12 # Force -O2 rather then -O3 to work around arm gcc bug
13 EXTRA_CONFIGURE_ARGS="--enable-small"
14 fi
15
16 SetOptFlags() {
17 # libvps sets it own optimisation flags
18 return
19 }
20
21 ConfigureStep() {
22 SetupCrossEnvironment
23 LogExecute ${SRC_DIR}/configure --target=generic-gnu --cpu=le32 \
24 --disable-unit-tests --prefix=${PREFIX} \
25 --extra-cflags="${NACLPORTS_CPPFLAGS}" ${EXTRA_CONFIGURE_ARGS:-}
26 }
OLDNEW
« no previous file with comments | « ports/ffmpeg/pkg_info ('k') | ports/libvpx/pkg_info » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698