OLD | NEW |
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. |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 postproc_visualizer | 327 postproc_visualizer |
328 os_support | 328 os_support |
329 unit_tests | 329 unit_tests |
330 webm_io | 330 webm_io |
331 libyuv | 331 libyuv |
332 decode_perf_tests | 332 decode_perf_tests |
333 encode_perf_tests | 333 encode_perf_tests |
334 multi_res_encoding | 334 multi_res_encoding |
335 temporal_denoising | 335 temporal_denoising |
336 coefficient_range_checking | 336 coefficient_range_checking |
| 337 vp9_highbitdepth |
337 experimental | 338 experimental |
338 size_limit | 339 size_limit |
339 ${EXPERIMENT_LIST} | 340 ${EXPERIMENT_LIST} |
340 " | 341 " |
341 CMDLINE_SELECT=" | 342 CMDLINE_SELECT=" |
342 external_build | 343 external_build |
343 extra_warnings | 344 extra_warnings |
344 werror | 345 werror |
345 install_docs | 346 install_docs |
346 install_bins | 347 install_bins |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 small | 386 small |
386 postproc_visualizer | 387 postproc_visualizer |
387 unit_tests | 388 unit_tests |
388 webm_io | 389 webm_io |
389 libyuv | 390 libyuv |
390 decode_perf_tests | 391 decode_perf_tests |
391 encode_perf_tests | 392 encode_perf_tests |
392 multi_res_encoding | 393 multi_res_encoding |
393 temporal_denoising | 394 temporal_denoising |
394 coefficient_range_checking | 395 coefficient_range_checking |
| 396 vp9_highbitdepth |
395 experimental | 397 experimental |
396 " | 398 " |
397 | 399 |
398 process_cmdline() { | 400 process_cmdline() { |
399 for opt do | 401 for opt do |
400 optval="${opt#*=}" | 402 optval="${opt#*=}" |
401 case "$opt" in | 403 case "$opt" in |
402 --disable-codecs) for c in ${CODECS}; do disable_feature $c; done ;; | 404 --disable-codecs) for c in ${CODECS}; do disable_feature $c; done ;; |
403 --enable-?*|--disable-?*) | 405 --enable-?*|--disable-?*) |
404 eval `echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g'` | 406 eval `echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g'` |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
779 ## | 781 ## |
780 ## END APPLICATION SPECIFIC CONFIGURATION | 782 ## END APPLICATION SPECIFIC CONFIGURATION |
781 ## | 783 ## |
782 CONFIGURE_ARGS="$@" | 784 CONFIGURE_ARGS="$@" |
783 process "$@" | 785 process "$@" |
784 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */" | 786 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */" |
785 cat <<EOF >> ${BUILD_PFX}vpx_config.c | 787 cat <<EOF >> ${BUILD_PFX}vpx_config.c |
786 static const char* const cfg = "$CONFIGURE_ARGS"; | 788 static const char* const cfg = "$CONFIGURE_ARGS"; |
787 const char *vpx_codec_build_config(void) {return cfg;} | 789 const char *vpx_codec_build_config(void) {return cfg;} |
788 EOF | 790 EOF |
OLD | NEW |