summaryrefslogtreecommitdiffstats
path: root/tools/grit
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 17:10:24 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 17:10:24 +0000
commit64abedbe0f78d500a625f46c0a7233d26fba8511 (patch)
treedd98f639987849672ddcc3bfbeef9bd3a15dbd10 /tools/grit
parente3a8c580aa929092701bc4cc2eaa51b4e89c6063 (diff)
downloadchromium_src-64abedbe0f78d500a625f46c0a7233d26fba8511.zip
chromium_src-64abedbe0f78d500a625f46c0a7233d26fba8511.tar.gz
chromium_src-64abedbe0f78d500a625f46c0a7233d26fba8511.tar.bz2
Remove MSVC build files that grit used to use. These have
long since been replaced by generated files from gyp. Review URL: http://codereview.chromium.org/213013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26581 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/grit')
-rw-r--r--tools/grit/build/grit_localized_resources.rules77
-rw-r--r--tools/grit/build/grit_resource_file.bat32
-rw-r--r--tools/grit/build/grit_resources.rules28
-rw-r--r--tools/grit/build/using_generated_resources.vsprops11
4 files changed, 0 insertions, 148 deletions
diff --git a/tools/grit/build/grit_localized_resources.rules b/tools/grit/build/grit_localized_resources.rules
deleted file mode 100644
index 940ff5d..0000000
--- a/tools/grit/build/grit_localized_resources.rules
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<VisualStudioToolFile
- Name="GRIT localized resources"
- Version="8.00"
- >
- <Rules>
- <CustomBuildRule
- Name="GRIT Generated Localized Resources"
- DisplayName="GRIT Generated Localized Resources"
- CommandLine="$(SolutionDir)..\tools\grit\build\grit_resource_file.bat [inputs] &quot;$(SolutionDir)&quot; &quot;$(OutDir)\obj\global_intermediate\chrome&quot; [AllOptions]"
- Outputs="$(OutDir)\obj\global_intermediate\chrome\$(InputName)_en-US.pak"
- AdditionalDependencies="$(SolutionDir)..\tools\grit\build\grit_resource_file.bat;$(SolutionDir)..\tools\grit\grit.py;
- resources\$(InputName)_ar.xtb;
- resources\$(InputName)_bg.xtb;
- resources\$(InputName)_bn.xtb;
- resources\$(InputName)_ca.xtb;
- resources\$(InputName)_cs.xtb;
- resources\$(InputName)_da.xtb;
- resources\$(InputName)_de.xtb;
- resources\$(InputName)_el.xtb;
- resources\$(InputName)_en-GB.xtb;
- resources\$(InputName)_es.xtb;
- resources\$(InputName)_es-419.xtb;
- resources\$(InputName)_et.xtb;
- resources\$(InputName)_fi.xtb;
- resources\$(InputName)_fil.xtb;
- resources\$(InputName)_fr.xtb;
- resources\$(InputName)_gu.xtb;
- resources\$(InputName)_he.xtb;
- resources\$(InputName)_hi.xtb;
- resources\$(InputName)_hr.xtb;
- resources\$(InputName)_hu.xtb;
- resources\$(InputName)_id.xtb;
- resources\$(InputName)_it.xtb;
- resources\$(InputName)_ja.xtb;
- resources\$(InputName)_kn.xtb;
- resources\$(InputName)_ko.xtb;
- resources\$(InputName)_lt.xtb;
- resources\$(InputName)_lv.xtb;
- resources\$(InputName)_ml.xtb;
- resources\$(InputName)_mr.xtb;
- resources\$(InputName)_nl.xtb;
- resources\$(InputName)_no.xtb;
- resources\$(InputName)_or.xtb;
- resources\$(InputName)_pl.xtb;
- resources\$(InputName)_pt-BR.xtb;
- resources\$(InputName)_pt-PT.xtb;
- resources\$(InputName)_ro.xtb;
- resources\$(InputName)_ru.xtb;
- resources\$(InputName)_sk.xtb;
- resources\$(InputName)_sl.xtb;
- resources\$(InputName)_sr.xtb;
- resources\$(InputName)_sv.xtb;
- resources\$(InputName)_ta.xtb;
- resources\$(InputName)_te.xtb;
- resources\$(InputName)_th.xtb;
- resources\$(InputName)_tr.xtb;
- resources\$(InputName)_uk.xtb;
- resources\$(InputName)_vi.xtb;
- resources\$(InputName)_zh-CN.xtb;
- resources\$(InputName)_zh-TW.xtb;"
- FileExtensions="*.grd"
- ExecutionDescription="Generating resources..."
- >
- <Properties>
- <StringProperty
- Name="PreprocessorDefinitions"
- DisplayName="Preprocessor Definitions"
- Description="Defines a text macro with the given name."
- Switch="&quot;[value]&quot;"
- Delimited="true"
- Inheritable="true"
- />
- </Properties>
- </CustomBuildRule>
- </Rules>
-</VisualStudioToolFile>
diff --git a/tools/grit/build/grit_resource_file.bat b/tools/grit/build/grit_resource_file.bat
deleted file mode 100644
index bc5af21..0000000
--- a/tools/grit/build/grit_resource_file.bat
+++ /dev/null
@@ -1,32 +0,0 @@
-:: Batch file run as build command for .grd files
-:: The custom build rule is set to expect (inputfile).h and (inputfile).rc
-:: our grd files must generate files with the same basename.
-@echo off
-
-setlocal
-
-set InFile=%~1
-set SolutionDir=%~2
-set OutDir=%~3
-
-:: We treat the next five args as preprocessor defines for grit.
-set PreProc1=%~4
-set PreProc2=%~5
-set PreProc3=%~6
-set PreProc4=%~7
-set PreProc5=%~8
-
-IF NOT EXIST %OutDir% (
-mkdir %OutDir%
-)
-
-IF NOT (%PreProc1%)==() set PreProc1=-D %PreProc1%
-IF NOT (%PreProc2%)==() set PreProc2=-D %PreProc2%
-IF NOT (%PreProc3%)==() set PreProc3=-D %PreProc3%
-IF NOT (%PreProc4%)==() set PreProc4=-D %PreProc4%
-IF NOT (%PreProc5%)==() set PreProc5=-D %PreProc5%
-
-:: Put cygwin in the path
-call %SolutionDir%\..\third_party\cygwin\setup_env.bat
-
-%SolutionDir%\..\third_party\python_24\python.exe %SolutionDir%\..\tools\grit\grit.py -i %InFile% build -o %OutDir% %PreProc1% %PreProc2% %PreProc3% %PreProc4% %PreProc5%
diff --git a/tools/grit/build/grit_resources.rules b/tools/grit/build/grit_resources.rules
deleted file mode 100644
index 52f7b27..0000000
--- a/tools/grit/build/grit_resources.rules
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<VisualStudioToolFile
- Name="GRIT resources"
- Version="8.00"
- >
- <Rules>
- <CustomBuildRule
- Name="GRIT Generated Resources"
- DisplayName="GRIT Generated Resources"
- CommandLine="$(SolutionDir)..\tools\grit\build\grit_resource_file.bat [inputs] &quot;$(SolutionDir)&quot; &quot;$(OutDir)\obj\global_intermediate\chrome&quot; [AllOptions]"
- Outputs="$(OutDir)\obj\global_intermediate\chrome\$(InputName).rc;$(OutDir)\obj\global_intermediate\chrome\$(InputName).pak"
- AdditionalDependencies="$(SolutionDir)..\tools\grit\build\grit_resource_file.bat;$(SolutionDir)..\tools\grit\grit.py"
- FileExtensions="*.grd"
- ExecutionDescription="Generating resources..."
- >
- <Properties>
- <StringProperty
- Name="PreprocessorDefinitions"
- DisplayName="Preprocessor Definitions"
- Description="Defines a text macro with the given name."
- Switch="&quot;[value]&quot;"
- Delimited="true"
- Inheritable="true"
- />
- </Properties>
- </CustomBuildRule>
- </Rules>
-</VisualStudioToolFile>
diff --git a/tools/grit/build/using_generated_resources.vsprops b/tools/grit/build/using_generated_resources.vsprops
deleted file mode 100644
index 0f445e5..0000000
--- a/tools/grit/build/using_generated_resources.vsprops
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioPropertySheet
- ProjectType="Visual C++"
- Version="8.00"
- Name="using_generated_resources"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="&quot;$(OutDir)\obj\global_intermediate\chrome&quot;;&quot;$(SolutionDir)\$(configurationName)\obj\global_intermediate\chrome&quot;;&quot;$(OutDir)\obj\global_intermediate\net&quot;;&quot;$(OutDir)\obj\global_intermediate\webkit&quot;"
- />
-</VisualStudioPropertySheet>