From 66fa98d4efa19c3a98db5468075e37d2937d8070 Mon Sep 17 00:00:00 2001 From: "tc@google.com" Date: Wed, 6 May 2009 18:40:27 +0000 Subject: Have the grit rules depend on the .pak files. chrome_resources and chrome_strings was continually rebuilding because it depended on the .h file, but the .h file doesn't get written if there are no changes. The .pak file always gets written. Review URL: http://codereview.chromium.org/115035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15432 0039d316-1c4b-4281-b951-d872f2087c98 --- tools/grit/build/grit_localized_resources.rules | 2 +- tools/grit/build/grit_resources.rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/grit/build/grit_localized_resources.rules b/tools/grit/build/grit_localized_resources.rules index b75b37c..3cacb53 100644 --- a/tools/grit/build/grit_localized_resources.rules +++ b/tools/grit/build/grit_localized_resources.rules @@ -8,7 +8,7 @@ Name="GRIT Generated Localized Resources" DisplayName="GRIT Generated Localized Resources" CommandLine="$(SolutionDir)..\tools\grit\build\grit_resource_file.bat [inputs] "$(SolutionDir)" "$(OutDir)\grit_derived_sources" [AllOptions]" - Outputs="$(OutDir)\grit_derived_sources\grit\$(InputName).h" + Outputs="$(OutDir)\grit_derived_sources\$(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; diff --git a/tools/grit/build/grit_resources.rules b/tools/grit/build/grit_resources.rules index b9f977a..2465ad4 100644 --- a/tools/grit/build/grit_resources.rules +++ b/tools/grit/build/grit_resources.rules @@ -8,7 +8,7 @@ Name="GRIT Generated Resources" DisplayName="GRIT Generated Resources" CommandLine="$(SolutionDir)..\tools\grit\build\grit_resource_file.bat [inputs] "$(SolutionDir)" "$(OutDir)\grit_derived_sources" [AllOptions]" - Outputs="$(OutDir)\grit_derived_sources\$(InputName).rc;$(OutDir)\grit_derived_sources\grit\$(InputName).h" + Outputs="$(OutDir)\grit_derived_sources\$(InputName).rc;$(OutDir)\grit_derived_sources\$(InputName).pak" AdditionalDependencies="$(SolutionDir)..\tools\grit\build\grit_resource_file.bat;$(SolutionDir)..\tools\grit\grit.py" FileExtensions="*.grd" ExecutionDescription="Generating resources..." -- cgit v1.1