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

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

Issue 1302353004: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 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 | « source/libvpx/build/make/configure.sh ('k') | source/libvpx/build/make/gen_msvs_sln.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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 for pat in ${pats//;/$IFS}; do 66 for pat in ${pats//;/$IFS}; do
67 if [ "${f##*.}" == "$pat" ]; then 67 if [ "${f##*.}" == "$pat" ]; then
68 unset file_list[i] 68 unset file_list[i]
69 69
70 objf=$(echo ${f%.*}.obj \ 70 objf=$(echo ${f%.*}.obj \
71 | sed -e "s,$src_path_bare,," \ 71 | sed -e "s,$src_path_bare,," \
72 -e 's/^[\./]\+//g' -e 's,[:/ ],_,g') 72 -e 's/^[\./]\+//g' -e 's,[:/ ],_,g')
73 open_tag File RelativePath="$f" 73 open_tag File RelativePath="$f"
74 74
75 if [ "$pat" == "asm" ] && $asm_use_custom_step; then 75 if [ "$pat" == "asm" ] && $asm_use_custom_step; then
76 # Avoid object file name collisions, i.e. vpx_config.c and
77 # vpx_config.asm produce the same object file without
78 # this additional suffix.
79 objf=${objf%.obj}_asm.obj
76 for plat in "${platforms[@]}"; do 80 for plat in "${platforms[@]}"; do
77 for cfg in Debug Release; do 81 for cfg in Debug Release; do
78 open_tag FileConfiguration \ 82 open_tag FileConfiguration \
79 Name="${cfg}|${plat}" \ 83 Name="${cfg}|${plat}" \
80 84
81 tag Tool \ 85 tag Tool \
82 Name="VCCustomBuildTool" \ 86 Name="VCCustomBuildTool" \
83 Description="Assembling \$(InputFileName)" \ 87 Description="Assembling \$(InputFileName)" \
84 CommandLine="$(eval echo \$asm_${cfg}_cmdline) - o \$(IntDir)\\$objf" \ 88 CommandLine="$(eval echo \$asm_${cfg}_cmdline) - o \$(IntDir)\\$objf" \
85 Outputs="\$(IntDir)\\$objf" \ 89 Outputs="\$(IntDir)\\$objf" \
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 sed -e '/"/s;\([^ "]\)/;\1\\;g' > ${outfile} 481 sed -e '/"/s;\([^ "]\)/;\1\\;g' > ${outfile}
478 482
479 exit 483 exit
480 <!-- 484 <!--
481 TODO: Add any files not captured by filters. 485 TODO: Add any files not captured by filters.
482 <File 486 <File
483 RelativePath=".\ReadMe.txt" 487 RelativePath=".\ReadMe.txt"
484 > 488 >
485 </File> 489 </File>
486 --> 490 -->
OLDNEW
« no previous file with comments | « source/libvpx/build/make/configure.sh ('k') | source/libvpx/build/make/gen_msvs_sln.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698