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

Side by Side Diff: source/libvpx/build/make/gen_msvs_sln.sh

Issue 111463005: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years 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 | « source/libvpx/build/make/configure.sh ('k') | source/libvpx/build/make/gen_msvs_vcxproj.sh » ('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 1 #!/bin/bash
2 ## 2 ##
3 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
4 ## 4 ##
5 ## Use of this source code is governed by a BSD-style license 5 ## Use of this source code is governed by a BSD-style license
6 ## that can be found in the LICENSE file in the root of the source 6 ## that can be found in the LICENSE file in the root of the source
7 ## tree. An additional intellectual property rights grant can be found 7 ## tree. An additional intellectual property rights grant can be found
8 ## in the file PATENTS. All contributing project authors may 8 ## in the file PATENTS. All contributing project authors may
9 ## be found in the AUTHORS file in the root of the source tree. 9 ## be found in the AUTHORS file in the root of the source tree.
10 ## 10 ##
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 optval="${opt#*=}" 248 optval="${opt#*=}"
249 case "$opt" in 249 case "$opt" in
250 --help|-h) show_help 250 --help|-h) show_help
251 ;; 251 ;;
252 --out=*) outfile="${optval}"; mkoutfile="${optval}".mk 252 --out=*) outfile="${optval}"; mkoutfile="${optval}".mk
253 ;; 253 ;;
254 --dep=*) eval "${optval%%:*}_deps=\"\${${optval%%:*}_deps} ${optval##*:}\"" 254 --dep=*) eval "${optval%%:*}_deps=\"\${${optval%%:*}_deps} ${optval##*:}\""
255 ;; 255 ;;
256 --ver=*) vs_ver="$optval" 256 --ver=*) vs_ver="$optval"
257 case $optval in 257 case $optval in
258 [789]|10|11) 258 [789]|10|11|12)
259 ;; 259 ;;
260 *) die Unrecognized Visual Studio Version in $opt 260 *) die Unrecognized Visual Studio Version in $opt
261 ;; 261 ;;
262 esac 262 esac
263 ;; 263 ;;
264 --ver=*) vs_ver="$optval" 264 --ver=*) vs_ver="$optval"
265 case $optval in 265 case $optval in
266 7) sln_vers="8.00" 266 7) sln_vers="8.00"
267 sln_vers_str="Visual Studio .NET 2003" 267 sln_vers_str="Visual Studio .NET 2003"
268 ;; 268 ;;
(...skipping 21 matching lines...) Expand all
290 ;; 290 ;;
291 9) sln_vers="10.00" 291 9) sln_vers="10.00"
292 sln_vers_str="Visual Studio 2008" 292 sln_vers_str="Visual Studio 2008"
293 ;; 293 ;;
294 10) sln_vers="11.00" 294 10) sln_vers="11.00"
295 sln_vers_str="Visual Studio 2010" 295 sln_vers_str="Visual Studio 2010"
296 ;; 296 ;;
297 11) sln_vers="12.00" 297 11) sln_vers="12.00"
298 sln_vers_str="Visual Studio 2012" 298 sln_vers_str="Visual Studio 2012"
299 ;; 299 ;;
300 12) sln_vers="12.00"
301 sln_vers_str="Visual Studio 2013"
302 ;;
300 esac 303 esac
301 case "${vs_ver:-8}" in 304 case "${vs_ver:-8}" in
302 [789]) 305 [789])
303 sfx=vcproj 306 sfx=vcproj
304 ;; 307 ;;
305 10|11) 308 10|11|12)
306 sfx=vcxproj 309 sfx=vcxproj
307 ;; 310 ;;
308 esac 311 esac
309 312
310 for f in "${file_list[@]}"; do 313 for f in "${file_list[@]}"; do
311 parse_project $f 314 parse_project $f
312 done 315 done
313 cat >${outfile} <<EOF 316 cat >${outfile} <<EOF
314 Microsoft Visual Studio Solution File, Format Version $sln_vers${EOLDOS} 317 Microsoft Visual Studio Solution File, Format Version $sln_vers${EOLDOS}
315 # $sln_vers_str${EOLDOS} 318 # $sln_vers_str${EOLDOS}
316 EOF 319 EOF
317 for proj in ${proj_list}; do 320 for proj in ${proj_list}; do
318 process_project $proj >>${outfile} 321 process_project $proj >>${outfile}
319 done 322 done
320 process_global >>${outfile} 323 process_global >>${outfile}
321 process_makefile >${mkoutfile} 324 process_makefile >${mkoutfile}
OLDNEW
« no previous file with comments | « source/libvpx/build/make/configure.sh ('k') | source/libvpx/build/make/gen_msvs_vcxproj.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698