summaryrefslogtreecommitdiffstats
path: root/webkit/build/webkit_resources
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-13 01:04:54 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-13 01:04:54 +0000
commitcde4d616a6a78473a64105e5b26337b358fe186c (patch)
treed73eb9ecd02914f8c6299f25eab507bb577fb6ff /webkit/build/webkit_resources
parent31365c186ed5c21add6c8cccd2cae7d02a3c939a (diff)
downloadchromium_src-cde4d616a6a78473a64105e5b26337b358fe186c.zip
chromium_src-cde4d616a6a78473a64105e5b26337b358fe186c.tar.gz
chromium_src-cde4d616a6a78473a64105e5b26337b358fe186c.tar.bz2
add files needed to compile to the build; I forgot to add these
TBR=deanm Review URL: http://codereview.chromium.org/17369 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7912 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/build/webkit_resources')
-rw-r--r--webkit/build/webkit_resources/SConscript38
-rw-r--r--webkit/build/webkit_resources/webkit_resources.vcproj78
2 files changed, 116 insertions, 0 deletions
diff --git a/webkit/build/webkit_resources/SConscript b/webkit/build/webkit_resources/SConscript
new file mode 100644
index 0000000..9331495
--- /dev/null
+++ b/webkit/build/webkit_resources/SConscript
@@ -0,0 +1,38 @@
+# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+Import(['env', 'env_res'])
+
+env = env.Clone()
+env_res = env_res.Clone()
+
+env_res.Append(
+ CPPPATH = [
+ "$CHROME_SRC_DIR",
+ ],
+)
+
+if env_res.Bit('windows'):
+ env_res.Append(
+ RCFLAGS = [
+ ["/l", "0x409"],
+ ],
+ )
+
+import sys
+sys.path.append(env.Dir('$CHROME_SRC_DIR/tools/grit').abspath)
+env_grd = env.Clone()
+env_grd.Tool('scons', toolpath=[env_grd.Dir('$CHROME_SRC_DIR/tools/grit/grit')])
+# This dummy target (webkit_resources) is used to tell the emitter where
+# to put the target files.
+generated = env_grd.GRIT(
+ '$TARGET_ROOT/grit_derived_sources/fake_generated_resources',
+ '$CHROME_SRC_DIR/webkit/glue/webkit_resources.grd')
+
+if env_res.Bit('windows'):
+ for g in [g for g in generated if str(g).endswith('.rc')]:
+ env_res.RES(g)
+
+env.ChromeMSVSProject('$WEBKIT_DIR/build/localized_resources/localized_resources.vcproj',
+ guid='{0B469837-3D46-484A-AFB3-C5A6C68730B9}')
diff --git a/webkit/build/webkit_resources/webkit_resources.vcproj b/webkit/build/webkit_resources/webkit_resources.vcproj
new file mode 100644
index 0000000..d6d2a83
--- /dev/null
+++ b/webkit/build/webkit_resources/webkit_resources.vcproj
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="webkit_resources"
+ ProjectGUID="{0B469837-3D46-484A-AFB3-C5A6C68730B9}"
+ RootNamespace="webkit_resources"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ <ToolFile
+ RelativePath="..\..\..\tools\grit\build\grit_resources.rules"
+ />
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ ConfigurationType="10"
+ InheritedPropertySheets="$(SolutionDir)..\build\common.vsprops;$(SolutionDir)..\build\debug.vsprops"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="GRIT Generated Resources"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ ConfigurationType="10"
+ InheritedPropertySheets="$(SolutionDir)..\build\common.vsprops;$(SolutionDir)..\build\release.vsprops"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="GRIT Generated Resources"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <File
+ RelativePath="..\..\glue\webkit_resources.grd"
+ >
+ </File>
+ <File
+ RelativePath="$(OutDir)\grit_derived_sources\webkit_resources.h"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>