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

Side by Side Diff: webkit/build/localized_strings/SConscript

Issue 7847: Using $CHROME_SRC_DIR in place of hash/..... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/build/JavaScriptCore/SConscript ('k') | webkit/build/port/SConscript » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 Import(['env', 'env_res']) 5 Import(['env', 'env_res'])
6 6
7 env = env.Clone() 7 env = env.Clone()
8 env_res = env_res.Clone() 8 env_res = env_res.Clone()
9 9
10 env_res.Append( 10 env_res.Append(
11 CPPPATH = [ 11 CPPPATH = [
12 ".", 12 ".",
13 #"#/../chrome/Debug/obj/chrome_dll", 13 #"$CHROME_SRC_DIR/chrome/Debug/obj/chrome_dll",
14 "#/..", 14 "$CHROME_SRC_DIR",
15 #"#/../chrome/Debug/obj", 15 #"$CHROME_SRC_DIR/chrome/Debug/obj",
16 ], 16 ],
17 RCFLAGS = [ 17 RCFLAGS = [
18 ["/l", "0x409"], 18 ["/l", "0x409"],
19 ], 19 ],
20 ) 20 )
21 21
22 import os 22 import os
23 import sys 23 import sys
24 sys.path.append(Dir('#/../tools/grit').abspath) 24 sys.path.append(env.Dir('$CHROME_SRC_DIR/tools/grit').abspath)
25 env_grd = env.Clone() 25 env_grd = env.Clone()
26 env_grd.Tool('scons', toolpath=['#/../tools/grit/grit']) 26 env_grd.Tool('scons', toolpath=[env_grd.Dir('$CHROME_SRC_DIR/tools/grit/grit')])
27 # This dummy target (webkit_strings) is used to tell the emitter where 27 # This dummy target (webkit_strings) is used to tell the emitter where
28 # to put the target files. 28 # to put the target files.
29 generated = env_grd.GRIT('webkit_strings', 29 generated = env_grd.GRIT('webkit_strings',
30 '#/../webkit/glue/webkit_strings.grd') 30 '$CHROME_SRC_DIR/webkit/glue/webkit_strings.grd')
31 for g in [ g for g in generated if str(g).endswith('.rc') ]: 31 for g in [ g for g in generated if str(g).endswith('.rc') ]:
32 env_res.RES(g) 32 env_res.RES(g)
33 33
34 34
OLDNEW
« no previous file with comments | « webkit/build/JavaScriptCore/SConscript ('k') | webkit/build/port/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698