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

Side by Side Diff: source/libvpx/configure

Issue 7671004: Update libvpx snapshot to v0.9.7-p1 (Cayuga). (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: '' Created 9 years, 4 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/libvpx/build/make/obj_int_extract.c ('k') | source/libvpx/examples.mk » ('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/bash 1 #!/bin/bash
2 ## 2 ##
3 ## configure 3 ## configure
4 ## 4 ##
5 ## This script is the front-end to the build system. It provides a similar 5 ## This script is the front-end to the build system. It provides a similar
6 ## interface to standard configure scripts with some extra bits for dealing 6 ## interface to standard configure scripts with some extra bits for dealing
7 ## with toolchains that differ from the standard POSIX interface and 7 ## with toolchains that differ from the standard POSIX interface and
8 ## for extracting subsets of the source tree. In theory, reusable parts 8 ## for extracting subsets of the source tree. In theory, reusable parts
9 ## of this script were intended to live in build/make/configure.sh, 9 ## of this script were intended to live in build/make/configure.sh,
10 ## but in practice, the line is pretty blurry. 10 ## but in practice, the line is pretty blurry.
(...skipping 13 matching lines...) Expand all
24 ${toggle_examples} don't build examples 24 ${toggle_examples} don't build examples
25 --libc=PATH path to alternate libc 25 --libc=PATH path to alternate libc
26 --as={yasm|nasm|auto} use specified assembler [auto, yasm preferred] 26 --as={yasm|nasm|auto} use specified assembler [auto, yasm preferred]
27 ${toggle_fast_unaligned} don't use unaligned accesses, even when 27 ${toggle_fast_unaligned} don't use unaligned accesses, even when
28 supported by hardware [auto] 28 supported by hardware [auto]
29 ${toggle_codec_srcs} in/exclude codec library source code 29 ${toggle_codec_srcs} in/exclude codec library source code
30 ${toggle_debug_libs} in/exclude debug version of libraries 30 ${toggle_debug_libs} in/exclude debug version of libraries
31 ${toggle_md5} support for output of checksum data 31 ${toggle_md5} support for output of checksum data
32 ${toggle_static_msvcrt} use static MSVCRT (VS builds only) 32 ${toggle_static_msvcrt} use static MSVCRT (VS builds only)
33 ${toggle_vp8} VP8 codec support 33 ${toggle_vp8} VP8 codec support
34 ${toggle_psnr} output of PSNR data, if supported (encoders) 34 ${toggle_internal_stats} output of encoder internal stats for debug, if supported (encoders)
35 ${toggle_mem_tracker} track memory usage 35 ${toggle_mem_tracker} track memory usage
36 ${toggle_postproc} postprocessing 36 ${toggle_postproc} postprocessing
37 ${toggle_multithread} multithreaded encoding and decoding. 37 ${toggle_multithread} multithreaded encoding and decoding.
38 ${toggle_spatial_resampling} spatial sampling (scaling) support 38 ${toggle_spatial_resampling} spatial sampling (scaling) support
39 ${toggle_realtime_only} enable this option while building for real-tim e encoding 39 ${toggle_realtime_only} enable this option while building for real-tim e encoding
40 ${toggle_error_concealment} enable this option to get a decoder which is a ble to conceal losses
40 ${toggle_runtime_cpu_detect} runtime cpu detection 41 ${toggle_runtime_cpu_detect} runtime cpu detection
41 ${toggle_shared} shared library support 42 ${toggle_shared} shared library support
43 ${toggle_static} static library support
42 ${toggle_small} favor smaller size over speed 44 ${toggle_small} favor smaller size over speed
43 ${toggle_postproc_visualizer} macro block / block level visualizers 45 ${toggle_postproc_visualizer} macro block / block level visualizers
44 46
45 Codecs: 47 Codecs:
46 Codecs can be selectively enabled or disabled individually, or by family: 48 Codecs can be selectively enabled or disabled individually, or by family:
47 --disable-<codec> 49 --disable-<codec>
48 is equivalent to: 50 is equivalent to:
49 --disable-<codec>-encoder 51 --disable-<codec>-encoder
50 --disable-<codec>-decoder 52 --disable-<codec>-decoder
51 53
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 [ $doxy_minor -eq 5 ] && [ $doxy_patch -ge 3 ] && enable doxygen 147 [ $doxy_minor -eq 5 ] && [ $doxy_patch -ge 3 ] && enable doxygen
146 fi 148 fi
147 149
148 # install everything except the sources, by default. sources will have 150 # install everything except the sources, by default. sources will have
149 # to be enabled when doing dist builds, since that's no longer a common 151 # to be enabled when doing dist builds, since that's no longer a common
150 # case. 152 # case.
151 enabled doxygen && php -v >/dev/null 2>&1 && enable install_docs 153 enabled doxygen && php -v >/dev/null 2>&1 && enable install_docs
152 enable install_bins 154 enable install_bins
153 enable install_libs 155 enable install_libs
154 156
157 enable static
155 enable optimizations 158 enable optimizations
156 enable fast_unaligned #allow unaligned accesses, if supported by hw 159 enable fast_unaligned #allow unaligned accesses, if supported by hw
157 enable md5 160 enable md5
158 enable spatial_resampling 161 enable spatial_resampling
159 enable multithread 162 enable multithread
160 enable os_support 163 enable os_support
161 164
162 [ -d ${source_path}/../include ] && enable alt_tree_layout 165 [ -d ${source_path}/../include ] && enable alt_tree_layout
163 for d in vp8; do 166 for d in vp8; do
164 [ -d ${source_path}/${d} ] && disable alt_tree_layout; 167 [ -d ${source_path}/${d} ] && disable alt_tree_layout;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 207
205 altivec 208 altivec
206 " 209 "
207 HAVE_LIST=" 210 HAVE_LIST="
208 ${ARCH_EXT_LIST} 211 ${ARCH_EXT_LIST}
209 vpx_ports 212 vpx_ports
210 stdint_h 213 stdint_h
211 alt_tree_layout 214 alt_tree_layout
212 pthread_h 215 pthread_h
213 sys_mman_h 216 sys_mman_h
217 unistd_h
214 " 218 "
215 CONFIG_LIST=" 219 CONFIG_LIST="
216 external_build 220 external_build
217 install_docs 221 install_docs
218 install_bins 222 install_bins
219 install_libs 223 install_libs
220 install_srcs 224 install_srcs
221 debug 225 debug
222 gprof 226 gprof
223 gcov 227 gcov
224 rvct 228 rvct
225 gcc 229 gcc
226 msvs 230 msvs
227 pic 231 pic
228 big_endian 232 big_endian
229 233
230 codec_srcs 234 codec_srcs
231 debug_libs 235 debug_libs
232 fast_unaligned 236 fast_unaligned
233 mem_manager 237 mem_manager
234 mem_tracker 238 mem_tracker
235 mem_checks 239 mem_checks
236 md5 240 md5
237 241
238 dequant_tokens 242 dequant_tokens
239 dc_recon 243 dc_recon
240 runtime_cpu_detect 244 runtime_cpu_detect
241 postproc 245 postproc
242 multithread 246 multithread
243 psnr 247 internal_stats
244 ${CODECS} 248 ${CODECS}
245 ${CODEC_FAMILIES} 249 ${CODEC_FAMILIES}
246 encoders 250 encoders
247 decoders 251 decoders
248 static_msvcrt 252 static_msvcrt
249 spatial_resampling 253 spatial_resampling
250 realtime_only 254 realtime_only
255 error_concealment
251 shared 256 shared
257 static
252 small 258 small
253 postproc_visualizer 259 postproc_visualizer
254 os_support 260 os_support
255 " 261 "
256 CMDLINE_SELECT=" 262 CMDLINE_SELECT="
257 extra_warnings 263 extra_warnings
258 werror 264 werror
259 install_docs 265 install_docs
260 install_bins 266 install_bins
261 install_libs 267 install_libs
(...skipping 12 matching lines...) Expand all
274 as 280 as
275 fast_unaligned 281 fast_unaligned
276 codec_srcs 282 codec_srcs
277 debug_libs 283 debug_libs
278 md5 284 md5
279 285
280 dequant_tokens 286 dequant_tokens
281 dc_recon 287 dc_recon
282 postproc 288 postproc
283 multithread 289 multithread
284 psnr 290 internal_stats
285 ${CODECS} 291 ${CODECS}
286 ${CODEC_FAMILIES} 292 ${CODEC_FAMILIES}
287 static_msvcrt 293 static_msvcrt
288 mem_tracker 294 mem_tracker
289 spatial_resampling 295 spatial_resampling
290 realtime_only 296 realtime_only
297 error_concealment
291 shared 298 shared
299 static
292 small 300 small
293 postproc_visualizer 301 postproc_visualizer
294 " 302 "
295 303
296 process_cmdline() { 304 process_cmdline() {
297 for opt do 305 for opt do
298 optval="${opt#*=}" 306 optval="${opt#*=}"
299 case "$opt" in 307 case "$opt" in
300 --disable-codecs) for c in ${CODECS}; do disable $c; done ;; 308 --disable-codecs) for c in ${CODECS}; do disable $c; done ;;
301 *) process_common_cmdline "$opt" 309 *) process_common_cmdline "$opt"
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 558
551 ## 559 ##
552 ## END APPLICATION SPECIFIC CONFIGURATION 560 ## END APPLICATION SPECIFIC CONFIGURATION
553 ## 561 ##
554 CONFIGURE_ARGS="$@" 562 CONFIGURE_ARGS="$@"
555 process "$@" 563 process "$@"
556 cat <<EOF > ${BUILD_PFX}vpx_config.c 564 cat <<EOF > ${BUILD_PFX}vpx_config.c
557 static const char* const cfg = "$CONFIGURE_ARGS"; 565 static const char* const cfg = "$CONFIGURE_ARGS";
558 const char *vpx_codec_build_config(void) {return cfg;} 566 const char *vpx_codec_build_config(void) {return cfg;}
559 EOF 567 EOF
OLDNEW
« no previous file with comments | « source/libvpx/build/make/obj_int_extract.c ('k') | source/libvpx/examples.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698