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

Side by Side Diff: generate_gypi.sh

Issue 341293003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « README.chromium ('k') | libvpx_srcs_arm.gypi » ('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 files and files in the config/platform 7 # This script is used to generate .gypi files and files in the config/platform
8 # directories needed to build libvpx. 8 # 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 fi 136 fi
137 if [ 0 -ne ${#sse3_sources} ]; then 137 if [ 0 -ne ${#sse3_sources} ]; then
138 #write_target_definition sse3_sources[@] $2 libvpx_intrinsics_sse3 sse3 138 #write_target_definition sse3_sources[@] $2 libvpx_intrinsics_sse3 sse3
139 echo "ERROR: Uncomment sse3 sections in libvpx.gyp" 139 echo "ERROR: Uncomment sse3 sections in libvpx.gyp"
140 exit 1 140 exit 1
141 fi 141 fi
142 if [ 0 -ne ${#ssse3_sources} ]; then 142 if [ 0 -ne ${#ssse3_sources} ]; then
143 write_target_definition ssse3_sources[@] $2 libvpx_intrinsics_ssse3 ssse3 143 write_target_definition ssse3_sources[@] $2 libvpx_intrinsics_ssse3 ssse3
144 fi 144 fi
145 if [ 0 -ne ${#sse4_1_sources} ]; then 145 if [ 0 -ne ${#sse4_1_sources} ]; then
146 #write_target_definition sse4_1_sources[@] $2 libvpx_intrinsics_sse4_1 sse4. 1 146 write_target_definition sse4_1_sources[@] $2 libvpx_intrinsics_sse4_1 sse4.1
147 echo "ERROR: Uncomment sse4_1 sections in libvpx.gyp"
148 exit 1
149 fi 147 fi
150 if [ 0 -ne ${#avx_sources} ]; then 148 if [ 0 -ne ${#avx_sources} ]; then
151 #write_target_definition avx_sources[@] $2 libvpx_intrinsics_avx avx 149 #write_target_definition avx_sources[@] $2 libvpx_intrinsics_avx avx
152 echo "ERROR: Uncomment avx sections in libvpx.gyp" 150 echo "ERROR: Uncomment avx sections in libvpx.gyp"
153 exit 1 151 exit 1
154 fi 152 fi
155 if [ 0 -ne ${#avx2_sources} ]; then 153 if [ 0 -ne ${#avx2_sources} ]; then
156 #write_target_definition avx2_sources[@] $2 libvpx_intrinsics_avx2 avx2 154 #write_target_definition avx2_sources[@] $2 libvpx_intrinsics_avx2 avx2
157 echo "ERROR: Uncomment avx2 sections in libvpx.gyp" 155 echo "ERROR: Uncomment avx2 sections in libvpx.gyp"
158 exit 1 156 exit 1
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 make_clean 443 make_clean
446 make libvpx_srcs.txt target=libs $config > /dev/null 444 make libvpx_srcs.txt target=libs $config > /dev/null
447 convert_srcs_to_gypi libvpx_srcs.txt libvpx_srcs_generic 445 convert_srcs_to_gypi libvpx_srcs.txt libvpx_srcs_generic
448 446
449 echo "Remove temporary directory." 447 echo "Remove temporary directory."
450 cd $BASE_DIR 448 cd $BASE_DIR
451 rm -rf $TEMP_DIR 449 rm -rf $TEMP_DIR
452 450
453 # TODO(fgalligan): Is "--disable-fast-unaligned" needed on mipsel? 451 # TODO(fgalligan): Is "--disable-fast-unaligned" needed on mipsel?
454 # TODO(fgalligan): Can we turn on "--enable-realtime-only" for mipsel? 452 # TODO(fgalligan): Can we turn on "--enable-realtime-only" for mipsel?
OLDNEW
« no previous file with comments | « README.chromium ('k') | libvpx_srcs_arm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698