diff options
author | bradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-22 05:03:39 +0000 |
---|---|---|
committer | bradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-22 05:03:39 +0000 |
commit | d09e3de46fae6200b0cd1a79867dcbd147db938a (patch) | |
tree | 2cd3b3aa632930e8d294ce5bb1b9e6423b06bbc9 /webkit/build/localized_strings | |
parent | 335ee05f3a724cead4c7fea90e1f1dbbdb9926fd (diff) | |
download | chromium_src-d09e3de46fae6200b0cd1a79867dcbd147db938a.zip chromium_src-d09e3de46fae6200b0cd1a79867dcbd147db938a.tar.gz chromium_src-d09e3de46fae6200b0cd1a79867dcbd147db938a.tar.bz2 |
Using $CHROME_SRC_DIR in place of hash/..
This will facilitate changing where the main sconstruct lives.
Review URL: http://codereview.chromium.org/7847
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3725 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/build/localized_strings')
-rw-r--r-- | webkit/build/localized_strings/SConscript | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/webkit/build/localized_strings/SConscript b/webkit/build/localized_strings/SConscript index 05db1b8..d48719f 100644 --- a/webkit/build/localized_strings/SConscript +++ b/webkit/build/localized_strings/SConscript @@ -10,9 +10,9 @@ env_res = env_res.Clone() env_res.Append( CPPPATH = [ ".", - #"#/../chrome/Debug/obj/chrome_dll", - "#/..", - #"#/../chrome/Debug/obj", + #"$CHROME_SRC_DIR/chrome/Debug/obj/chrome_dll", + "$CHROME_SRC_DIR", + #"$CHROME_SRC_DIR/chrome/Debug/obj", ], RCFLAGS = [ ["/l", "0x409"], @@ -21,13 +21,13 @@ env_res.Append( import os import sys -sys.path.append(Dir('#/../tools/grit').abspath) +sys.path.append(env.Dir('$CHROME_SRC_DIR/tools/grit').abspath) env_grd = env.Clone() -env_grd.Tool('scons', toolpath=['#/../tools/grit/grit']) +env_grd.Tool('scons', toolpath=[env_grd.Dir('$CHROME_SRC_DIR/tools/grit/grit')]) # This dummy target (webkit_strings) is used to tell the emitter where # to put the target files. generated = env_grd.GRIT('webkit_strings', - '#/../webkit/glue/webkit_strings.grd') + '$CHROME_SRC_DIR/webkit/glue/webkit_strings.grd') for g in [ g for g in generated if str(g).endswith('.rc') ]: env_res.RES(g) |