Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/bin/bash -e | 1 #!/bin/bash -e |
| 2 # | 2 # |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 # This script is used to generate .gypi, .gni files and files in the | 7 # This script is used to generate .gypi, .gni files and files in the |
| 8 # config/platform directories needed to build libvpx. | 8 # config/platform directories needed to build libvpx. |
| 9 # Every time libvpx source code is updated just run this script. | 9 # Every time libvpx source code is updated just run this script. |
| 10 # | 10 # |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 385 rm -rf vpx_config.* | 385 rm -rf vpx_config.* |
| 386 } | 386 } |
| 387 | 387 |
| 388 echo "Create temporary directory." | 388 echo "Create temporary directory." |
| 389 TEMP_DIR="$LIBVPX_SRC_DIR.temp" | 389 TEMP_DIR="$LIBVPX_SRC_DIR.temp" |
| 390 rm -rf $TEMP_DIR | 390 rm -rf $TEMP_DIR |
| 391 cp -R $LIBVPX_SRC_DIR $TEMP_DIR | 391 cp -R $LIBVPX_SRC_DIR $TEMP_DIR |
| 392 cd $TEMP_DIR | 392 cd $TEMP_DIR |
| 393 | 393 |
| 394 echo "Generate config files." | 394 echo "Generate config files." |
| 395 all_platforms="--enable-external-build --enable-postproc --disable-install-srcs --enable-multi-res-encoding --enable-temporal-denoising --disable-unit-tests --d isable-install-docs --disable-examples --enable-vp9-temporal-denoising --enable- vp9-postproc" | 395 all_platforms="--enable-external-build --enable-postproc --disable-install-srcs --enable-multi-res-encoding --enable-temporal-denoising --disable-unit-tests --d isable-install-docs --disable-examples --enable-vp9-temporal-denoising --enable- vp9-postproc --size-limit=16384x16384" |
|
wwcv
2015/05/04 16:59:14
this is the critical line: it adds --size-limit to
| |
| 396 gen_config_files linux/ia32 "--target=x86-linux-gcc --disable-ccache --enable-pi c --enable-realtime-only ${all_platforms}" | 396 gen_config_files linux/ia32 "--target=x86-linux-gcc --disable-ccache --enable-pi c --enable-realtime-only ${all_platforms}" |
| 397 gen_config_files linux/x64 "--target=x86_64-linux-gcc --disable-ccache --enable- pic --enable-realtime-only ${all_platforms}" | 397 gen_config_files linux/x64 "--target=x86_64-linux-gcc --disable-ccache --enable- pic --enable-realtime-only ${all_platforms}" |
| 398 gen_config_files linux/arm "--target=armv6-linux-gcc --enable-pic --enable-realt ime-only --disable-install-bins --disable-install-libs --disable-edsp ${all_plat forms}" | 398 gen_config_files linux/arm "--target=armv6-linux-gcc --enable-pic --enable-realt ime-only --disable-install-bins --disable-install-libs --disable-edsp ${all_plat forms}" |
| 399 gen_config_files linux/arm-neon "--target=armv7-linux-gcc --enable-pic --enable- realtime-only --disable-edsp ${all_platforms}" | 399 gen_config_files linux/arm-neon "--target=armv7-linux-gcc --enable-pic --enable- realtime-only --disable-edsp ${all_platforms}" |
| 400 gen_config_files linux/arm-neon-cpu-detect "--target=armv7-linux-gcc --enable-pi c --enable-realtime-only --enable-runtime-cpu-detect --disable-edsp ${all_platfo rms}" | 400 gen_config_files linux/arm-neon-cpu-detect "--target=armv7-linux-gcc --enable-pi c --enable-realtime-only --enable-runtime-cpu-detect --disable-edsp ${all_platfo rms}" |
| 401 gen_config_files linux/arm64 "--force-target=armv8-linux-gcc --enable-pic --enab le-realtime-only --disable-edsp ${all_platforms}" | 401 gen_config_files linux/arm64 "--force-target=armv8-linux-gcc --enable-pic --enab le-realtime-only --disable-edsp ${all_platforms}" |
| 402 gen_config_files linux/mipsel "--target=mips32-linux-gcc --disable-fast-unaligne d ${all_platforms}" | 402 gen_config_files linux/mipsel "--target=mips32-linux-gcc --disable-fast-unaligne d ${all_platforms}" |
| 403 gen_config_files linux/mips64el "--target=mips64-linux-gcc --disable-fast-unalig ned ${all_platforms}" | 403 gen_config_files linux/mips64el "--target=mips64-linux-gcc --disable-fast-unalig ned ${all_platforms}" |
| 404 gen_config_files linux/generic "--target=generic-gnu --enable-pic --enable-realt ime-only ${all_platforms}" | 404 gen_config_files linux/generic "--target=generic-gnu --enable-pic --enable-realt ime-only ${all_platforms}" |
| 405 gen_config_files win/ia32 "--target=x86-win32-vs12 --enable-realtime-only ${all_ platforms}" | 405 gen_config_files win/ia32 "--target=x86-win32-vs12 --enable-realtime-only ${all_ platforms}" |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 515 make_clean | 515 make_clean |
| 516 make libvpx_srcs.txt target=libs $config > /dev/null | 516 make libvpx_srcs.txt target=libs $config > /dev/null |
| 517 convert_srcs_to_project_files libvpx_srcs.txt libvpx_srcs_generic | 517 convert_srcs_to_project_files libvpx_srcs.txt libvpx_srcs_generic |
| 518 | 518 |
| 519 echo "Remove temporary directory." | 519 echo "Remove temporary directory." |
| 520 cd $BASE_DIR | 520 cd $BASE_DIR |
| 521 rm -rf $TEMP_DIR | 521 rm -rf $TEMP_DIR |
| 522 | 522 |
| 523 # TODO(fgalligan): Is "--disable-fast-unaligned" needed on mipsel? | 523 # TODO(fgalligan): Is "--disable-fast-unaligned" needed on mipsel? |
| 524 # TODO(fgalligan): Can we turn on "--enable-realtime-only" for mipsel? | 524 # TODO(fgalligan): Can we turn on "--enable-realtime-only" for mipsel? |
| OLD | NEW |