diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-13 00:59:35 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-13 00:59:35 +0000 |
commit | bc4451ceed50867267e75b6677c945e39442e332 (patch) | |
tree | 19708267599270dc64d3763695883610fb673518 /webkit/webkit.xcodeproj | |
parent | afeb8f17bae749928b280fb6a755f3e4696d91d7 (diff) | |
download | chromium_src-bc4451ceed50867267e75b6677c945e39442e332.zip chromium_src-bc4451ceed50867267e75b6677c945e39442e332.tar.gz chromium_src-bc4451ceed50867267e75b6677c945e39442e332.tar.bz2 |
Move webkit_resources.rc to webkit_resources.grd. Add
webkit_resources.vcproj which creates the .rc files and have webkit
glue depend on it.
I had to add a flag to grit that allows a resource to be in the
header, but not in the .rc file. We do this for a test_shell only
resource that is not compiled in.
SCons build also works on windows.
I still need to update the other .sln files and mac build.
Review URL: http://codereview.chromium.org/17466
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/webkit.xcodeproj')
-rwxr-xr-x | webkit/webkit.xcodeproj/glue_prebuild.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/webkit.xcodeproj/glue_prebuild.sh b/webkit/webkit.xcodeproj/glue_prebuild.sh index fbfb30f..fd56984 100755 --- a/webkit/webkit.xcodeproj/glue_prebuild.sh +++ b/webkit/webkit.xcodeproj/glue_prebuild.sh @@ -18,3 +18,11 @@ then -i "${PROJECT_DIR}/glue/webkit_strings.grd" build \ -o "${GRIT_DIR}" fi + +if [ "${GRIT_DIR}/webkit_resources.h" -ot \ + "${PROJECT_DIR}/glue/webkit_resources.grd" ] +then + python "${PROJECT_DIR}/../tools/grit/grit.py" \ + -i "${PROJECT_DIR}/glue/webkit_resources.grd" build \ + -o "${GRIT_DIR}" +fi |