summaryrefslogtreecommitdiffstats
path: root/webkit/build/webkit_strings/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/build/webkit_strings/SConscript')
-rw-r--r--webkit/build/webkit_strings/SConscript38
1 files changed, 38 insertions, 0 deletions
diff --git a/webkit/build/webkit_strings/SConscript b/webkit/build/webkit_strings/SConscript
new file mode 100644
index 0000000..6dec4b7
--- /dev/null
+++ b/webkit/build/webkit_strings/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/chrome/Debug/obj/chrome_dll",
+ "$CHROME_SRC_DIR",
+ #"$CHROME_SRC_DIR/chrome/Debug/obj",
+ ],
+)
+
+if env_res.Bit('windows'):
+ env_res.Append(
+ RCFLAGS = [
+ ["/l", "0x409"],
+ ],
+ )
+
+env_grd = env.Clone()
+# This dummy target (webkit_strings) is used to tell the emitter where
+# to put the target files.
+generated = env_grd.GRIT(
+ '$TARGET_ROOT/grit_derived_sources/fake_generated_target',
+ '$CHROME_SRC_DIR/webkit/glue/webkit_strings.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_strings/localized_strings.vcproj',
+ guid='{60B43839-95E6-4526-A661-209F16335E0E}')