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

Issue 53028: GRIT rules improvements on windows (Closed)

Created:
11 years, 9 months ago by tony
Modified:
9 years, 7 months ago
Reviewers:
Glen Murphy
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

This fixes a few GRIT issues: - The generated header files had the wrong paths specified in the vcproj files. - Have the .h files generate to a temp file and overwrite the real .h files if they changed from the last run. This prevents recompiling when only a resource is changed. - Change the output file to the .rc file because otherwise the vcproj file would recompile every time because the .h file wasn't changing. Since the .rc file gets written all the time, this isn't a problem. On a side note, you still have to re-link to get the resources in chrome.dll. I imagine if you turn on incremental linking, this would be pretty fast. BUG=7967

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -16 lines) Patch
M chrome/app/chrome_resources.vcproj View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/app/chrome_strings.vcproj View 4 chunks +4 lines, -4 lines 0 comments Download
M tools/grit/build/grit_resources.rules View 1 chunk +1 line, -1 line 0 comments Download
M tools/grit/grit/format/rc_header.py View 2 chunks +1 line, -3 lines 0 comments Download
M tools/grit/grit/tool/build.py View 3 chunks +22 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
tony
11 years, 9 months ago (2009-03-24 22:59:07 UTC) #1
Glen Murphy
11 years, 9 months ago (2009-03-25 23:05:35 UTC) #2
awesome, LGTM

Powered by Google App Engine
This is Rietveld 408576698