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

Side by Side Diff: generate_gypi.sh

Issue 864883002: Enable the vp9 temporal denoiser (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | libvpx_srcs.gni » ('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 -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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 } 388 }
389 389
390 echo "Create temporary directory." 390 echo "Create temporary directory."
391 TEMP_DIR="$LIBVPX_SRC_DIR.temp" 391 TEMP_DIR="$LIBVPX_SRC_DIR.temp"
392 rm -rf $TEMP_DIR 392 rm -rf $TEMP_DIR
393 cp -R $LIBVPX_SRC_DIR $TEMP_DIR 393 cp -R $LIBVPX_SRC_DIR $TEMP_DIR
394 cd $TEMP_DIR 394 cd $TEMP_DIR
395 395
396 echo "Generate config files." 396 echo "Generate config files."
397 # TODO(joeyparrish) Enable AVX2 when broader VS2013 support is available 397 # TODO(joeyparrish) Enable AVX2 when broader VS2013 support is available
398 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 --disable-avx2" 398 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 --disable-avx2 --enable-vp9-temporal-deno ising"
399 gen_config_files linux/ia32 "--target=x86-linux-gcc --disable-ccache --enable-pi c --enable-realtime-only ${all_platforms}" 399 gen_config_files linux/ia32 "--target=x86-linux-gcc --disable-ccache --enable-pi c --enable-realtime-only ${all_platforms}"
400 gen_config_files linux/x64 "--target=x86_64-linux-gcc --disable-ccache --enable- pic --enable-realtime-only ${all_platforms}" 400 gen_config_files linux/x64 "--target=x86_64-linux-gcc --disable-ccache --enable- pic --enable-realtime-only ${all_platforms}"
401 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}" 401 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}"
402 gen_config_files linux/arm-neon "--target=armv7-linux-gcc --enable-pic --enable- realtime-only --disable-edsp ${all_platforms}" 402 gen_config_files linux/arm-neon "--target=armv7-linux-gcc --enable-pic --enable- realtime-only --disable-edsp ${all_platforms}"
403 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}" 403 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}"
404 gen_config_files linux/arm64 "--force-target=armv8-linux-gcc --enable-pic --enab le-realtime-only --disable-edsp ${all_platforms}" 404 gen_config_files linux/arm64 "--force-target=armv8-linux-gcc --enable-pic --enab le-realtime-only --disable-edsp ${all_platforms}"
405 gen_config_files linux/mipsel "--target=mips32-linux-gcc --disable-fast-unaligne d ${all_platforms}" 405 gen_config_files linux/mipsel "--target=mips32-linux-gcc --disable-fast-unaligne d ${all_platforms}"
406 gen_config_files linux/mips64el "--target=mips64-linux-gcc --disable-fast-unalig ned ${all_platforms}" 406 gen_config_files linux/mips64el "--target=mips64-linux-gcc --disable-fast-unalig ned ${all_platforms}"
407 gen_config_files linux/generic "--target=generic-gnu --enable-pic --enable-realt ime-only ${all_platforms}" 407 gen_config_files linux/generic "--target=generic-gnu --enable-pic --enable-realt ime-only ${all_platforms}"
408 gen_config_files win/ia32 "--target=x86-win32-vs12 --enable-realtime-only ${all_ platforms}" 408 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
518 make_clean 518 make_clean
519 make libvpx_srcs.txt target=libs $config > /dev/null 519 make libvpx_srcs.txt target=libs $config > /dev/null
520 convert_srcs_to_project_files libvpx_srcs.txt libvpx_srcs_generic 520 convert_srcs_to_project_files libvpx_srcs.txt libvpx_srcs_generic
521 521
522 echo "Remove temporary directory." 522 echo "Remove temporary directory."
523 cd $BASE_DIR 523 cd $BASE_DIR
524 rm -rf $TEMP_DIR 524 rm -rf $TEMP_DIR
525 525
526 # TODO(fgalligan): Is "--disable-fast-unaligned" needed on mipsel? 526 # TODO(fgalligan): Is "--disable-fast-unaligned" needed on mipsel?
527 # TODO(fgalligan): Can we turn on "--enable-realtime-only" for mipsel? 527 # TODO(fgalligan): Can we turn on "--enable-realtime-only" for mipsel?
OLDNEW
« no previous file with comments | « no previous file | libvpx_srcs.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698