shithub: libvpx

Download patch

ref: c559cc6191b7467c7355d7a94b0cfdafe8378ed1
parent: cca774c7df21b710cb298358575e05b7c4407303
author: Martin Storsjo <martin@martin.st>
date: Fri Nov 4 08:18:42 EDT 2016

Fix producing vcxproj files with *.S arm assembly files

These cases were leftover in
1ddb4c03622a654452a5e76b5a0e4db715dc350d.

Change-Id: Ie058fb6c78580e60205c47a1d314bd66e794cde4

--- a/build/make/gen_msvs_vcxproj.sh
+++ b/build/make/gen_msvs_vcxproj.sh
@@ -82,7 +82,7 @@
                        | sed -e "s,$src_path_bare,," \
                              -e 's/^[\./]\+//g' -e 's,[:/ ],_,g')
 
-                if ([ "$pat" == "asm" ] || [ "$pat" == "s" ]) && $asm_use_custom_step; then
+                if ([ "$pat" == "asm" ] || [ "$pat" == "s" ] || [ "$pat" == "S" ]) && $asm_use_custom_step; then
                     # Avoid object file name collisions, i.e. vpx_config.c and
                     # vpx_config.asm produce the same object file without
                     # this additional suffix.
@@ -452,7 +452,7 @@
     done
 
     open_tag ItemGroup
-    generate_filter "Source Files"   "c;cc;cpp;def;odl;idl;hpj;bat;asm;asmx;s"
+    generate_filter "Source Files"   "c;cc;cpp;def;odl;idl;hpj;bat;asm;asmx;s;S"
     close_tag ItemGroup
     open_tag ItemGroup
     generate_filter "Header Files"   "h;hm;inl;inc;xsd"