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

Side by Side Diff: third_party/libvpx/generate_gypi.sh

Issue 2027703002: Roll src/third_party/libvpx/source/libvpx/ 4f774ac50..f80d8011a (12 commits). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 echo "ERROR: Uncomment sse3 sections in libvpx.gyp" 233 echo "ERROR: Uncomment sse3 sections in libvpx.gyp"
234 exit 1 234 exit 1
235 fi 235 fi
236 if [ 0 -ne ${#ssse3_sources} ]; then 236 if [ 0 -ne ${#ssse3_sources} ]; then
237 write_target_definition ssse3_sources[@] "$2" libvpx_intrinsics_ssse3 ssse3 237 write_target_definition ssse3_sources[@] "$2" libvpx_intrinsics_ssse3 ssse3
238 fi 238 fi
239 if [ 0 -ne ${#sse4_1_sources} ]; then 239 if [ 0 -ne ${#sse4_1_sources} ]; then
240 write_target_definition sse4_1_sources[@] "$2" libvpx_intrinsics_sse4_1 sse4 .1 240 write_target_definition sse4_1_sources[@] "$2" libvpx_intrinsics_sse4_1 sse4 .1
241 fi 241 fi
242 if [[ -z $DISABLE_AVX && 0 -ne ${#avx_sources} ]]; then 242 if [[ -z $DISABLE_AVX && 0 -ne ${#avx_sources} ]]; then
243 write_target_definition avx_sources[@] "$2" libvpx_intrinsics_avx avx 243 #write_target_definition avx_sources[@] "$2" libvpx_intrinsics_avx avx
244 echo "ERROR: Uncomment avx sections in libvpx.gyp and BUILD.gn"
245 exit 1
244 fi 246 fi
245 if [[ -z $DISABLE_AVX && 0 -ne ${#avx2_sources} ]]; then 247 if [[ -z $DISABLE_AVX && 0 -ne ${#avx2_sources} ]]; then
246 write_target_definition avx2_sources[@] "$2" libvpx_intrinsics_avx2 avx2 248 write_target_definition avx2_sources[@] "$2" libvpx_intrinsics_avx2 avx2
247 fi 249 fi
248 250
249 # arm neon 251 # arm neon
250 if [ 0 -ne ${#neon_sources} ]; then 252 if [ 0 -ne ${#neon_sources} ]; then
251 write_target_definition neon_sources[@] "$2" libvpx_intrinsics_neon fpu=neon 253 write_target_definition neon_sources[@] "$2" libvpx_intrinsics_neon fpu=neon
252 fi 254 fi
253 255
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 gn format --in-place $BASE_DIR/libvpx_srcs.gni 596 gn format --in-place $BASE_DIR/libvpx_srcs.gni
595 597
596 cd $BASE_DIR/$LIBVPX_SRC_DIR 598 cd $BASE_DIR/$LIBVPX_SRC_DIR
597 echo 599 echo
598 echo "Update README.chromium:" 600 echo "Update README.chromium:"
599 git log -1 --format="%cd%nCommit: %H" --date=format:"Date: %A %B %d %Y" 601 git log -1 --format="%cd%nCommit: %H" --date=format:"Date: %A %B %d %Y"
600 602
601 cd $BASE_DIR 603 cd $BASE_DIR
602 604
603 # TODO(fgalligan): Can we turn on "--enable-realtime-only" for mipsel? 605 # TODO(fgalligan): Can we turn on "--enable-realtime-only" for mipsel?
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698