| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 ## | 2 ## |
| 3 ## Copyright (c) 2013 The WebM project authors. All Rights Reserved. | 3 ## Copyright (c) 2013 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 asm_Debug_cmdline="yasm -Xvc -g cv8 -f win64 ${yasmincs} "%(FullPat
h)"" | 256 asm_Debug_cmdline="yasm -Xvc -g cv8 -f win64 ${yasmincs} "%(FullPat
h)"" |
| 257 asm_Release_cmdline="yasm -Xvc -f win64 ${yasmincs} "%(FullPath)&qu
ot;" | 257 asm_Release_cmdline="yasm -Xvc -f win64 ${yasmincs} "%(FullPath)&qu
ot;" |
| 258 ;; | 258 ;; |
| 259 x86*) | 259 x86*) |
| 260 platforms[0]="Win32" | 260 platforms[0]="Win32" |
| 261 asm_Debug_cmdline="yasm -Xvc -g cv8 -f win32 ${yasmincs} "%(FullPat
h)"" | 261 asm_Debug_cmdline="yasm -Xvc -g cv8 -f win32 ${yasmincs} "%(FullPat
h)"" |
| 262 asm_Release_cmdline="yasm -Xvc -f win32 ${yasmincs} "%(FullPath)&qu
ot;" | 262 asm_Release_cmdline="yasm -Xvc -f win32 ${yasmincs} "%(FullPath)&qu
ot;" |
| 263 ;; | 263 ;; |
| 264 arm*) | 264 arm*) |
| 265 platforms[0]="ARM" | 265 platforms[0]="ARM" |
| 266 asm_Debug_cmdline="armasm -nologo "%(FullPath)"" | 266 asm_Debug_cmdline="armasm -nologo -oldit "%(FullPath)"" |
| 267 asm_Release_cmdline="armasm -nologo "%(FullPath)"" | 267 asm_Release_cmdline="armasm -nologo -oldit "%(FullPath)"" |
| 268 ;; | 268 ;; |
| 269 *) die "Unsupported target $target!" | 269 *) die "Unsupported target $target!" |
| 270 ;; | 270 ;; |
| 271 esac | 271 esac |
| 272 | 272 |
| 273 generate_vcxproj() { | 273 generate_vcxproj() { |
| 274 echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>" | 274 echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>" |
| 275 open_tag Project \ | 275 open_tag Project \ |
| 276 DefaultTargets="Build" \ | 276 DefaultTargets="Build" \ |
| 277 ToolsVersion="4.0" \ | 277 ToolsVersion="4.0" \ |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 } | 478 } |
| 479 | 479 |
| 480 # This regexp doesn't catch most of the strings in the vcxproj format, | 480 # This regexp doesn't catch most of the strings in the vcxproj format, |
| 481 # since they're like <tag>path</tag> instead of <tag attr="path" /> | 481 # since they're like <tag>path</tag> instead of <tag attr="path" /> |
| 482 # as previously. It still seems to work ok despite this. | 482 # as previously. It still seems to work ok despite this. |
| 483 generate_vcxproj | | 483 generate_vcxproj | |
| 484 sed -e '/"/s;\([^ "]\)/;\1\\;g' | | 484 sed -e '/"/s;\([^ "]\)/;\1\\;g' | |
| 485 sed -e '/xmlns/s;\\;/;g' > ${outfile} | 485 sed -e '/xmlns/s;\\;/;g' > ${outfile} |
| 486 | 486 |
| 487 exit | 487 exit |
| OLD | NEW |