remove yasm.rules
authorYaowu Xu <yaowu@google.com>
Fri, 16 Nov 2012 19:09:26 +0000 (11:09 -0800)
committerYaowu Xu <yaowu@google.com>
Fri, 16 Nov 2012 19:09:26 +0000 (11:09 -0800)
As we changed the scripts to compile asm files using customized command
for each file.

Change-Id: I975713f3d0cce2238de3ee3fe44e3227385f0c64

build/make/gen_msvs_proj.sh
build/x86-msvs/yasm.rules [deleted file]

index 9a7b25e..947cc62 100755 (executable)
@@ -341,13 +341,6 @@ generate_vcproj() {
     done
     close_tag Platforms
 
-    open_tag ToolFiles
-    case "$target" in
-        x86*) $uses_asm && tag ToolFile RelativePath="$self_dirname/../x86-msvs/yasm.rules"
-        ;;
-    esac
-    close_tag ToolFiles
-
     open_tag Configurations
     for plat in "${platforms[@]}"; do
         plat_no_ws=`echo $plat | sed 's/[^A-Za-z0-9_]/_/g'`
diff --git a/build/x86-msvs/yasm.rules b/build/x86-msvs/yasm.rules
deleted file mode 100644 (file)
index ee1fefb..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>\r
-<VisualStudioToolFile\r
-       Name="Yasm"\r
-       Version="8.00"\r
-       >\r
-  <Rules>\r
-    <CustomBuildRule\r
-                       Name="YASM"\r
-                       DisplayName="Yasm Assembler"\r
-                       CommandLine="yasm -Xvc -f $(PlatformName) [AllOptions] [AdditionalOptions] [Inputs]"\r
-                       Outputs="[$ObjectFileName]"\r
-                       FileExtensions="*.asm"\r
-                       ExecutionDescription="Assembling $(InputFileName)"\r
-                       ShowOnlyRuleProperties="false"\r
-                       >\r
-      <Properties>\r
-        <StringProperty\r
-                                       Name="Defines"\r
-                                       DisplayName="Definitions"\r
-                                       Category="Pre-Defined Symbols"\r
-                                       Description="Specify pre-defined symbols (&apos;symbol&apos; or &apos;symbol = value&apos;) "\r
-                                       Switch="-D [value]"\r
-                                       Delimited="true"\r
-                                       Inheritable="true"\r
-                               />\r
-        <StringProperty\r
-                                       Name="IncludePaths"\r
-                                       DisplayName="Include Paths"\r
-                                       Category="Configuration"\r
-                                       Description="Set the paths for any additional include files"\r
-                                       Switch="-I [value]"\r
-                                       Delimited="true"\r
-                                       Inheritable="true"\r
-                               />\r
-        <StringProperty\r
-                                       Name="UnDefines"\r
-                                       DisplayName="Remove Definitions"\r
-                                       Category="Pre-Defined Symbols"\r
-                                       Description="Remove pre-defined symbols "\r
-                                       Switch="-U [value]"\r
-                                       Delimited="true"\r
-                                       Inheritable="true"\r
-                               />\r
-        <StringProperty\r
-                                       Name="ObjectFileName"\r
-                                       DisplayName="Object File Name"\r
-                                       Category="Output"\r
-                                       Description="Select the output file name"\r
-                                       Switch="-o [value]"\r
-                                       DefaultValue="$(IntDir)\$(InputName).obj"\r
-                               />\r
-        <StringProperty\r
-                                       Name="ListFileName"\r
-                                       DisplayName="List File Name"\r
-                                       Category="Output"\r
-                                       Description="Select an output listing by setting its file name"\r
-                                       Switch="-l [value]"\r
-                               />\r
-        <StringProperty\r
-                                       Name="PreIncludeFile"\r
-                                       DisplayName="Pre Include File"\r
-                                       Category="Configuration"\r
-                                       Description="Select a pre-included file by setting its name"\r
-                                       Switch="-P [value]"\r
-                               />\r
-        <BooleanProperty\r
-                                       Name="Debug"\r
-                                       DisplayName="Debug Information"\r
-                                       Category="Output"\r
-                                       Description="Generate debugging information"\r
-                                       Switch="-g cv8"\r
-                               />\r
-        <EnumProperty\r
-                                       Name="PreProc"\r
-                                       DisplayName="Pre-Processor"\r
-                                       Category="Configuration"\r
-                                       Description="Select the pre-processor (&apos;nasm&apos; or &apos;raw&apos;)"\r
-                                       >\r
-          <Values>\r
-            <EnumValue\r
-                                                       Value="0"\r
-                                                       Switch="-rnasm"\r
-                                                       DisplayName="Nasm "\r
-                                               />\r
-            <EnumValue\r
-                                                       Value="1"\r
-                                                       Switch="-rraw"\r
-                                                       DisplayName="Raw"\r
-                                               />\r
-          </Values>\r
-        </EnumProperty>\r
-        <EnumProperty\r
-                                       Name="Parser"\r
-                                       DisplayName="Parser"\r
-                                       Category="Configuration"\r
-                                       Description="Select the parser for Intel (&apos;nasm&apos;) or AT&amp;T ( &apos;gas&apos;) syntax"\r
-                                       >\r
-          <Values>\r
-            <EnumValue\r
-                                                       Value="0"\r
-                                                       Switch="-pnasm"\r
-                                                       DisplayName="Nasm"\r
-                                               />\r
-            <EnumValue\r
-                                                       Value="1"\r
-                                                       Switch="-pgas"\r
-                                                       DisplayName="Gas"\r
-                                               />\r
-          </Values>\r
-        </EnumProperty>\r
-      </Properties>\r
-    </CustomBuildRule>\r
-  </Rules>\r
-</VisualStudioToolFile>\r
-\r