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

Side by Side Diff: source/libvpx/build/make/configure.sh

Issue 415333002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « source/config/win/x64/vpx_config.asm ('k') | source/libvpx/configure » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 ## 2 ##
3 ## configure.sh 3 ## configure.sh
4 ## 4 ##
5 ## This script is sourced by the main configure script and contains 5 ## This script is sourced by the main configure script and contains
6 ## utility functions and other common bits that aren't strictly libvpx 6 ## utility functions and other common bits that aren't strictly libvpx
7 ## related. 7 ## related.
8 ## 8 ##
9 ## This build system is based in part on the FFmpeg configure script. 9 ## This build system is based in part on the FFmpeg configure script.
10 ## 10 ##
(...skipping 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after
1215 fi 1215 fi
1216 if [ -n "${tune_asflags}" ]; then 1216 if [ -n "${tune_asflags}" ]; then
1217 check_add_asflags ${tune_asflags}${tune_cpu} || \ 1217 check_add_asflags ${tune_asflags}${tune_cpu} || \
1218 die "Requested CPU '${tune_cpu}' not supported by assembler" 1218 die "Requested CPU '${tune_cpu}' not supported by assembler"
1219 fi 1219 fi
1220 if [ -z "${tune_cflags}${tune_asflags}" ]; then 1220 if [ -z "${tune_cflags}${tune_asflags}" ]; then
1221 log_echo "Warning: CPU tuning not supported by this toolchain" 1221 log_echo "Warning: CPU tuning not supported by this toolchain"
1222 fi 1222 fi
1223 fi 1223 fi
1224 1224
1225 enabled debug && check_add_cflags -g && check_add_ldflags -g 1225 if enabled debug; then
1226 check_add_cflags -g && check_add_ldflags -g
1227 else
1228 check_add_cflags -DNDEBUG
1229 fi
1230
1226 enabled gprof && check_add_cflags -pg && check_add_ldflags -pg 1231 enabled gprof && check_add_cflags -pg && check_add_ldflags -pg
1227 enabled gcov && 1232 enabled gcov &&
1228 check_add_cflags -fprofile-arcs -ftest-coverage && 1233 check_add_cflags -fprofile-arcs -ftest-coverage &&
1229 check_add_ldflags -fprofile-arcs -ftest-coverage 1234 check_add_ldflags -fprofile-arcs -ftest-coverage
1230 1235
1231 if enabled optimizations; then 1236 if enabled optimizations; then
1232 if enabled rvct; then 1237 if enabled rvct; then
1233 enabled small && check_add_cflags -Ospace || check_add_cflags -Otime 1238 enabled small && check_add_cflags -Ospace || check_add_cflags -Otime
1234 else 1239 else
1235 enabled small && check_add_cflags -O2 || check_add_cflags -O3 1240 enabled small && check_add_cflags -O2 || check_add_cflags -O3
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1390 # Prepare the PWD for building. 1395 # Prepare the PWD for building.
1391 for f in ${OOT_INSTALLS}; do 1396 for f in ${OOT_INSTALLS}; do
1392 install -D "${source_path}/$f" "$f" 1397 install -D "${source_path}/$f" "$f"
1393 done 1398 done
1394 fi 1399 fi
1395 cp "${source_path}/build/make/Makefile" . 1400 cp "${source_path}/build/make/Makefile" .
1396 1401
1397 clean_temp_files 1402 clean_temp_files
1398 true 1403 true
1399 } 1404 }
OLDNEW
« no previous file with comments | « source/config/win/x64/vpx_config.asm ('k') | source/libvpx/configure » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698