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

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

Issue 756673003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 open_tag Configuration \ 288 open_tag Configuration \
289 Name="Debug|$plat" \ 289 Name="Debug|$plat" \
290 OutputDirectory="\$(SolutionDir)$plat_no_ws/\$(ConfigurationName)" \ 290 OutputDirectory="\$(SolutionDir)$plat_no_ws/\$(ConfigurationName)" \
291 IntermediateDirectory="$plat_no_ws/\$(ConfigurationName)/${name}" \ 291 IntermediateDirectory="$plat_no_ws/\$(ConfigurationName)/${name}" \
292 ConfigurationType="$vs_ConfigurationType" \ 292 ConfigurationType="$vs_ConfigurationType" \
293 CharacterSet="1" \ 293 CharacterSet="1" \
294 294
295 case "$target" in 295 case "$target" in
296 x86*) 296 x86*)
297 case "$name" in 297 case "$name" in
298 obj_int_extract) 298 vpx)
299 tag Tool \ 299 tag Tool \
300 Name="VCCLCompilerTool" \ 300 Name="VCCLCompilerTool" \
301 Optimization="0" \ 301 Optimization="0" \
302 AdditionalIncludeDirectories="$incs" \ 302 AdditionalIncludeDirectories="$incs" \
303 PreprocessorDefinitions="WIN32;DEBUG;_CONSOLE;_CRT_S ECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE" \
304 RuntimeLibrary="$debug_runtime" \
305 WarningLevel="3" \
306 DebugInformationFormat="1" \
307 $warn_64bit \
308 ;;
309 vpx)
310 tag Tool \
311 Name="VCPreBuildEventTool" \
312 CommandLine="call obj_int_extract.bat "$src_pat h_bare" $plat_no_ws\\\$(ConfigurationName)" \
313
314 tag Tool \
315 Name="VCCLCompilerTool" \
316 Optimization="0" \
317 AdditionalIncludeDirectories="$incs" \
318 PreprocessorDefinitions="WIN32;_DEBUG;_CRT_SECURE_NO _WARNINGS;_CRT_SECURE_NO_DEPRECATE;$defines" \ 303 PreprocessorDefinitions="WIN32;_DEBUG;_CRT_SECURE_NO _WARNINGS;_CRT_SECURE_NO_DEPRECATE;$defines" \
319 RuntimeLibrary="$debug_runtime" \ 304 RuntimeLibrary="$debug_runtime" \
320 UsePrecompiledHeader="0" \ 305 UsePrecompiledHeader="0" \
321 WarningLevel="3" \ 306 WarningLevel="3" \
322 DebugInformationFormat="2" \ 307 DebugInformationFormat="2" \
323 $warn_64bit \ 308 $warn_64bit \
324 309
325 $uses_asm && tag Tool Name="YASM" IncludePaths="$incs" Debug="true" 310 $uses_asm && tag Tool Name="YASM" IncludePaths="$incs" Debug="true"
326 ;; 311 ;;
327 *) 312 *)
(...skipping 12 matching lines...) Expand all
340 ;; 325 ;;
341 esac 326 esac
342 ;; 327 ;;
343 esac 328 esac
344 329
345 case "$proj_kind" in 330 case "$proj_kind" in
346 exe) 331 exe)
347 case "$target" in 332 case "$target" in
348 x86*) 333 x86*)
349 case "$name" in 334 case "$name" in
350 obj_int_extract)
351 tag Tool \
352 Name="VCLinkerTool" \
353 GenerateDebugInformation="true" \
354 ;;
355 *) 335 *)
356 tag Tool \ 336 tag Tool \
357 Name="VCLinkerTool" \ 337 Name="VCLinkerTool" \
358 AdditionalDependencies="$debug_libs \$(NoInh erit)" \ 338 AdditionalDependencies="$debug_libs \$(NoInh erit)" \
359 AdditionalLibraryDirectories="$libdirs" \ 339 AdditionalLibraryDirectories="$libdirs" \
360 GenerateDebugInformation="true" \ 340 GenerateDebugInformation="true" \
361 ProgramDatabaseFile="\$(OutDir)/${name}.pdb" \ 341 ProgramDatabaseFile="\$(OutDir)/${name}.pdb" \
362 ;; 342 ;;
363 esac 343 esac
364 ;; 344 ;;
(...skipping 28 matching lines...) Expand all
393 Name="Release|$plat" \ 373 Name="Release|$plat" \
394 OutputDirectory="\$(SolutionDir)$plat_no_ws/\$(ConfigurationName)" \ 374 OutputDirectory="\$(SolutionDir)$plat_no_ws/\$(ConfigurationName)" \
395 IntermediateDirectory="$plat_no_ws/\$(ConfigurationName)/${name}" \ 375 IntermediateDirectory="$plat_no_ws/\$(ConfigurationName)/${name}" \
396 ConfigurationType="$vs_ConfigurationType" \ 376 ConfigurationType="$vs_ConfigurationType" \
397 CharacterSet="1" \ 377 CharacterSet="1" \
398 WholeProgramOptimization="0" \ 378 WholeProgramOptimization="0" \
399 379
400 case "$target" in 380 case "$target" in
401 x86*) 381 x86*)
402 case "$name" in 382 case "$name" in
403 obj_int_extract) 383 vpx)
404 tag Tool \ 384 tag Tool \
405 Name="VCCLCompilerTool" \ 385 Name="VCCLCompilerTool" \
406 Optimization="2" \ 386 Optimization="2" \
407 FavorSizeorSpeed="1" \ 387 FavorSizeorSpeed="1" \
408 AdditionalIncludeDirectories="$incs" \
409 PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_ SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE" \
410 RuntimeLibrary="$release_runtime" \
411 UsePrecompiledHeader="0" \
412 WarningLevel="3" \
413 DebugInformationFormat="0" \
414 $warn_64bit \
415 ;;
416 vpx)
417 tag Tool \
418 Name="VCPreBuildEventTool" \
419 CommandLine="call obj_int_extract.bat "$src_pat h_bare" $plat_no_ws\\\$(ConfigurationName)" \
420
421 tag Tool \
422 Name="VCCLCompilerTool" \
423 Optimization="2" \
424 FavorSizeorSpeed="1" \
425 AdditionalIncludeDirectories="$incs" \ 388 AdditionalIncludeDirectories="$incs" \
426 PreprocessorDefinitions="WIN32;NDEBUG;_CRT_SECURE_NO _WARNINGS;_CRT_SECURE_NO_DEPRECATE;$defines" \ 389 PreprocessorDefinitions="WIN32;NDEBUG;_CRT_SECURE_NO _WARNINGS;_CRT_SECURE_NO_DEPRECATE;$defines" \
427 RuntimeLibrary="$release_runtime" \ 390 RuntimeLibrary="$release_runtime" \
428 UsePrecompiledHeader="0" \ 391 UsePrecompiledHeader="0" \
429 WarningLevel="3" \ 392 WarningLevel="3" \
430 DebugInformationFormat="0" \ 393 DebugInformationFormat="0" \
431 $warn_64bit \ 394 $warn_64bit \
432 395
433 $uses_asm && tag Tool Name="YASM" IncludePaths="$incs" 396 $uses_asm && tag Tool Name="YASM" IncludePaths="$incs"
434 ;; 397 ;;
(...skipping 14 matching lines...) Expand all
449 ;; 412 ;;
450 esac 413 esac
451 ;; 414 ;;
452 esac 415 esac
453 416
454 case "$proj_kind" in 417 case "$proj_kind" in
455 exe) 418 exe)
456 case "$target" in 419 case "$target" in
457 x86*) 420 x86*)
458 case "$name" in 421 case "$name" in
459 obj_int_extract)
460 tag Tool \
461 Name="VCLinkerTool" \
462 GenerateDebugInformation="true" \
463 ;;
464 *) 422 *)
465 tag Tool \ 423 tag Tool \
466 Name="VCLinkerTool" \ 424 Name="VCLinkerTool" \
467 AdditionalDependencies="$libs \$(NoInherit)" \ 425 AdditionalDependencies="$libs \$(NoInherit)" \
468 AdditionalLibraryDirectories="$libdirs" \ 426 AdditionalLibraryDirectories="$libdirs" \
469 427
470 ;; 428 ;;
471 esac 429 esac
472 ;; 430 ;;
473 esac 431 esac
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 sed -e '/"/s;\([^ "]\)/;\1\\;g' > ${outfile} 477 sed -e '/"/s;\([^ "]\)/;\1\\;g' > ${outfile}
520 478
521 exit 479 exit
522 <!-- 480 <!--
523 TODO: Add any files not captured by filters. 481 TODO: Add any files not captured by filters.
524 <File 482 <File
525 RelativePath=".\ReadMe.txt" 483 RelativePath=".\ReadMe.txt"
526 > 484 >
527 </File> 485 </File>
528 --> 486 -->
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