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

Side by Side Diff: source/libvpx/configure

Issue 111463005: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years 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/thumb.pm ('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/sh 1 #!/bin/sh
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.
11 ## 11 ##
12 ## This build system is based in part on the FFmpeg configure script. 12 ## This build system is based in part on the FFmpeg configure script.
13 ## 13 ##
14 14
15 #source_path="`dirname \"$0\"`" 15 #source_path="`dirname \"$0\"`"
16 source_path=${0%/*} 16 source_path=${0%/*}
17 . "${source_path}/build/make/configure.sh" 17 . "${source_path}/build/make/configure.sh"
18 18
19 show_help(){ 19 show_help(){
20 show_help_pre 20 show_help_pre
21 cat << EOF 21 cat << EOF
22 Advanced options: 22 Advanced options:
23 ${toggle_libs} libraries 23 ${toggle_libs} libraries
24 ${toggle_examples} examples 24 ${toggle_examples} examples
25 ${toggle_docs} documentation 25 ${toggle_docs} documentation
26 ${toggle_unit_tests} unit tests 26 ${toggle_unit_tests} unit tests
27 ${toggle_decode_perf_tests} build decoder perf tests with unit tests
27 --libc=PATH path to alternate libc 28 --libc=PATH path to alternate libc
28 --as={yasm|nasm|auto} use specified assembler [auto, yasm preferred] 29 --as={yasm|nasm|auto} use specified assembler [auto, yasm preferred]
29 --sdk-path=PATH path to root of sdk (iOS, android builds only) 30 --sdk-path=PATH path to root of sdk (android builds only)
30 ${toggle_fast_unaligned} don't use unaligned accesses, even when 31 ${toggle_fast_unaligned} don't use unaligned accesses, even when
31 supported by hardware [auto] 32 supported by hardware [auto]
32 ${toggle_codec_srcs} in/exclude codec library source code 33 ${toggle_codec_srcs} in/exclude codec library source code
33 ${toggle_debug_libs} in/exclude debug version of libraries 34 ${toggle_debug_libs} in/exclude debug version of libraries
34 ${toggle_md5} support for output of checksum data 35 ${toggle_md5} support for output of checksum data
35 ${toggle_static_msvcrt} use static MSVCRT (VS builds only) 36 ${toggle_static_msvcrt} use static MSVCRT (VS builds only)
36 ${toggle_vp8} VP8 codec support 37 ${toggle_vp8} VP8 codec support
37 ${toggle_vp9} VP9 codec support 38 ${toggle_vp9} VP9 codec support
38 ${toggle_internal_stats} output of encoder internal stats for debug, if supported (encoders) 39 ${toggle_internal_stats} output of encoder internal stats for debug, if supported (encoders)
39 ${toggle_mem_tracker} track memory usage 40 ${toggle_mem_tracker} track memory usage
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 all_platforms="${all_platforms} armv6-darwin-gcc" 94 all_platforms="${all_platforms} armv6-darwin-gcc"
94 all_platforms="${all_platforms} armv6-linux-rvct" 95 all_platforms="${all_platforms} armv6-linux-rvct"
95 all_platforms="${all_platforms} armv6-linux-gcc" 96 all_platforms="${all_platforms} armv6-linux-gcc"
96 all_platforms="${all_platforms} armv6-none-rvct" 97 all_platforms="${all_platforms} armv6-none-rvct"
97 all_platforms="${all_platforms} armv7-android-gcc" #neon Cortex-A8 98 all_platforms="${all_platforms} armv7-android-gcc" #neon Cortex-A8
98 all_platforms="${all_platforms} armv7-darwin-gcc" #neon Cortex-A8 99 all_platforms="${all_platforms} armv7-darwin-gcc" #neon Cortex-A8
99 all_platforms="${all_platforms} armv7-linux-rvct" #neon Cortex-A8 100 all_platforms="${all_platforms} armv7-linux-rvct" #neon Cortex-A8
100 all_platforms="${all_platforms} armv7-linux-gcc" #neon Cortex-A8 101 all_platforms="${all_platforms} armv7-linux-gcc" #neon Cortex-A8
101 all_platforms="${all_platforms} armv7-none-rvct" #neon Cortex-A8 102 all_platforms="${all_platforms} armv7-none-rvct" #neon Cortex-A8
102 all_platforms="${all_platforms} armv7-win32-vs11" 103 all_platforms="${all_platforms} armv7-win32-vs11"
104 all_platforms="${all_platforms} armv7-win32-vs12"
103 all_platforms="${all_platforms} mips32-linux-gcc" 105 all_platforms="${all_platforms} mips32-linux-gcc"
104 all_platforms="${all_platforms} ppc32-darwin8-gcc" 106 all_platforms="${all_platforms} ppc32-darwin8-gcc"
105 all_platforms="${all_platforms} ppc32-darwin9-gcc" 107 all_platforms="${all_platforms} ppc32-darwin9-gcc"
106 all_platforms="${all_platforms} ppc32-linux-gcc" 108 all_platforms="${all_platforms} ppc32-linux-gcc"
107 all_platforms="${all_platforms} ppc64-darwin8-gcc" 109 all_platforms="${all_platforms} ppc64-darwin8-gcc"
108 all_platforms="${all_platforms} ppc64-darwin9-gcc" 110 all_platforms="${all_platforms} ppc64-darwin9-gcc"
109 all_platforms="${all_platforms} ppc64-linux-gcc" 111 all_platforms="${all_platforms} ppc64-linux-gcc"
110 all_platforms="${all_platforms} sparc-solaris-gcc" 112 all_platforms="${all_platforms} sparc-solaris-gcc"
111 all_platforms="${all_platforms} x86-android-gcc" 113 all_platforms="${all_platforms} x86-android-gcc"
112 all_platforms="${all_platforms} x86-darwin8-gcc" 114 all_platforms="${all_platforms} x86-darwin8-gcc"
113 all_platforms="${all_platforms} x86-darwin8-icc" 115 all_platforms="${all_platforms} x86-darwin8-icc"
114 all_platforms="${all_platforms} x86-darwin9-gcc" 116 all_platforms="${all_platforms} x86-darwin9-gcc"
115 all_platforms="${all_platforms} x86-darwin9-icc" 117 all_platforms="${all_platforms} x86-darwin9-icc"
116 all_platforms="${all_platforms} x86-darwin10-gcc" 118 all_platforms="${all_platforms} x86-darwin10-gcc"
117 all_platforms="${all_platforms} x86-darwin11-gcc" 119 all_platforms="${all_platforms} x86-darwin11-gcc"
118 all_platforms="${all_platforms} x86-darwin12-gcc" 120 all_platforms="${all_platforms} x86-darwin12-gcc"
119 all_platforms="${all_platforms} x86-darwin13-gcc" 121 all_platforms="${all_platforms} x86-darwin13-gcc"
120 all_platforms="${all_platforms} x86-linux-gcc" 122 all_platforms="${all_platforms} x86-linux-gcc"
121 all_platforms="${all_platforms} x86-linux-icc" 123 all_platforms="${all_platforms} x86-linux-icc"
122 all_platforms="${all_platforms} x86-os2-gcc" 124 all_platforms="${all_platforms} x86-os2-gcc"
123 all_platforms="${all_platforms} x86-solaris-gcc" 125 all_platforms="${all_platforms} x86-solaris-gcc"
124 all_platforms="${all_platforms} x86-win32-gcc" 126 all_platforms="${all_platforms} x86-win32-gcc"
125 all_platforms="${all_platforms} x86-win32-vs7" 127 all_platforms="${all_platforms} x86-win32-vs7"
126 all_platforms="${all_platforms} x86-win32-vs8" 128 all_platforms="${all_platforms} x86-win32-vs8"
127 all_platforms="${all_platforms} x86-win32-vs9" 129 all_platforms="${all_platforms} x86-win32-vs9"
128 all_platforms="${all_platforms} x86-win32-vs10" 130 all_platforms="${all_platforms} x86-win32-vs10"
129 all_platforms="${all_platforms} x86-win32-vs11" 131 all_platforms="${all_platforms} x86-win32-vs11"
132 all_platforms="${all_platforms} x86-win32-vs12"
130 all_platforms="${all_platforms} x86_64-darwin9-gcc" 133 all_platforms="${all_platforms} x86_64-darwin9-gcc"
131 all_platforms="${all_platforms} x86_64-darwin10-gcc" 134 all_platforms="${all_platforms} x86_64-darwin10-gcc"
132 all_platforms="${all_platforms} x86_64-darwin11-gcc" 135 all_platforms="${all_platforms} x86_64-darwin11-gcc"
133 all_platforms="${all_platforms} x86_64-darwin12-gcc" 136 all_platforms="${all_platforms} x86_64-darwin12-gcc"
134 all_platforms="${all_platforms} x86_64-darwin13-gcc" 137 all_platforms="${all_platforms} x86_64-darwin13-gcc"
135 all_platforms="${all_platforms} x86_64-linux-gcc" 138 all_platforms="${all_platforms} x86_64-linux-gcc"
136 all_platforms="${all_platforms} x86_64-linux-icc" 139 all_platforms="${all_platforms} x86_64-linux-icc"
137 all_platforms="${all_platforms} x86_64-solaris-gcc" 140 all_platforms="${all_platforms} x86_64-solaris-gcc"
138 all_platforms="${all_platforms} x86_64-win64-gcc" 141 all_platforms="${all_platforms} x86_64-win64-gcc"
139 all_platforms="${all_platforms} x86_64-win64-vs8" 142 all_platforms="${all_platforms} x86_64-win64-vs8"
140 all_platforms="${all_platforms} x86_64-win64-vs9" 143 all_platforms="${all_platforms} x86_64-win64-vs9"
141 all_platforms="${all_platforms} x86_64-win64-vs10" 144 all_platforms="${all_platforms} x86_64-win64-vs10"
142 all_platforms="${all_platforms} x86_64-win64-vs11" 145 all_platforms="${all_platforms} x86_64-win64-vs11"
146 all_platforms="${all_platforms} x86_64-win64-vs12"
143 all_platforms="${all_platforms} universal-darwin8-gcc" 147 all_platforms="${all_platforms} universal-darwin8-gcc"
144 all_platforms="${all_platforms} universal-darwin9-gcc" 148 all_platforms="${all_platforms} universal-darwin9-gcc"
145 all_platforms="${all_platforms} universal-darwin10-gcc" 149 all_platforms="${all_platforms} universal-darwin10-gcc"
146 all_platforms="${all_platforms} universal-darwin11-gcc" 150 all_platforms="${all_platforms} universal-darwin11-gcc"
147 all_platforms="${all_platforms} universal-darwin12-gcc" 151 all_platforms="${all_platforms} universal-darwin12-gcc"
148 all_platforms="${all_platforms} universal-darwin13-gcc" 152 all_platforms="${all_platforms} universal-darwin13-gcc"
149 all_platforms="${all_platforms} generic-gnu" 153 all_platforms="${all_platforms} generic-gnu"
150 154
151 # all_targets is a list of all targets that can be configured 155 # all_targets is a list of all targets that can be configured
152 # note that these should be in dependency order for now. 156 # note that these should be in dependency order for now.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 HAVE_LIST=" 246 HAVE_LIST="
243 ${ARCH_EXT_LIST} 247 ${ARCH_EXT_LIST}
244 vpx_ports 248 vpx_ports
245 stdint_h 249 stdint_h
246 alt_tree_layout 250 alt_tree_layout
247 pthread_h 251 pthread_h
248 sys_mman_h 252 sys_mman_h
249 unistd_h 253 unistd_h
250 " 254 "
251 EXPERIMENT_LIST=" 255 EXPERIMENT_LIST="
252 oneshotq
253 multiple_arf 256 multiple_arf
254 non420 257 non420
255 alpha 258 alpha
256 " 259 "
257 CONFIG_LIST=" 260 CONFIG_LIST="
258 external_build 261 external_build
259 install_docs 262 install_docs
260 install_bins 263 install_bins
261 install_libs 264 install_libs
262 install_srcs 265 install_srcs
(...skipping 30 matching lines...) Expand all
293 spatial_resampling 296 spatial_resampling
294 realtime_only 297 realtime_only
295 onthefly_bitpacking 298 onthefly_bitpacking
296 error_concealment 299 error_concealment
297 shared 300 shared
298 static 301 static
299 small 302 small
300 postproc_visualizer 303 postproc_visualizer
301 os_support 304 os_support
302 unit_tests 305 unit_tests
306 decode_perf_tests
303 multi_res_encoding 307 multi_res_encoding
304 temporal_denoising 308 temporal_denoising
305 experimental 309 experimental
306 decrypt 310 decrypt
307 ${EXPERIMENT_LIST} 311 ${EXPERIMENT_LIST}
308 " 312 "
309 CMDLINE_SELECT=" 313 CMDLINE_SELECT="
310 external_build 314 external_build
311 extra_warnings 315 extra_warnings
312 werror 316 werror
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 mem_tracker 350 mem_tracker
347 spatial_resampling 351 spatial_resampling
348 realtime_only 352 realtime_only
349 onthefly_bitpacking 353 onthefly_bitpacking
350 error_concealment 354 error_concealment
351 shared 355 shared
352 static 356 static
353 small 357 small
354 postproc_visualizer 358 postproc_visualizer
355 unit_tests 359 unit_tests
360 decode_perf_tests
356 multi_res_encoding 361 multi_res_encoding
357 temporal_denoising 362 temporal_denoising
358 experimental 363 experimental
359 decrypt 364 decrypt
360 " 365 "
361 366
362 process_cmdline() { 367 process_cmdline() {
363 for opt do 368 for opt do
364 optval="${opt#*=}" 369 optval="${opt#*=}"
365 case "$opt" in 370 case "$opt" in
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 # Enable the postbuild target if building for visual studio. 669 # Enable the postbuild target if building for visual studio.
665 case "$tgt_cc" in 670 case "$tgt_cc" in
666 vs*) enable_feature msvs 671 vs*) enable_feature msvs
667 enable_feature solution 672 enable_feature solution
668 vs_version=${tgt_cc##vs} 673 vs_version=${tgt_cc##vs}
669 case $vs_version in 674 case $vs_version in
670 [789]) 675 [789])
671 VCPROJ_SFX=vcproj 676 VCPROJ_SFX=vcproj
672 gen_vcproj_cmd=${source_path}/build/make/gen_msvs_proj.sh 677 gen_vcproj_cmd=${source_path}/build/make/gen_msvs_proj.sh
673 ;; 678 ;;
674 10|11) 679 10|11|12)
675 VCPROJ_SFX=vcxproj 680 VCPROJ_SFX=vcxproj
676 gen_vcproj_cmd=${source_path}/build/make/gen_msvs_vcxproj.sh 681 gen_vcproj_cmd=${source_path}/build/make/gen_msvs_vcxproj.sh
677 ;; 682 ;;
678 esac 683 esac
679 all_targets="${all_targets} solution" 684 all_targets="${all_targets} solution"
680 INLINE="__forceinline" 685 INLINE="__forceinline"
681 ;; 686 ;;
682 esac 687 esac
683 688
684 # Other toolchain specific defaults 689 # Other toolchain specific defaults
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 ## 725 ##
721 ## END APPLICATION SPECIFIC CONFIGURATION 726 ## END APPLICATION SPECIFIC CONFIGURATION
722 ## 727 ##
723 CONFIGURE_ARGS="$@" 728 CONFIGURE_ARGS="$@"
724 process "$@" 729 process "$@"
725 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */" 730 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */"
726 cat <<EOF >> ${BUILD_PFX}vpx_config.c 731 cat <<EOF >> ${BUILD_PFX}vpx_config.c
727 static const char* const cfg = "$CONFIGURE_ARGS"; 732 static const char* const cfg = "$CONFIGURE_ARGS";
728 const char *vpx_codec_build_config(void) {return cfg;} 733 const char *vpx_codec_build_config(void) {return cfg;}
729 EOF 734 EOF
OLDNEW
« no previous file with comments | « source/libvpx/build/make/thumb.pm ('k') | source/libvpx/examples.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698