OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 Import(['env', 'env_res']) | |
6 | |
7 env = env.Clone() | |
8 env_res = env_res.Clone() | |
9 | |
10 env_res.Append( | |
11 CPPPATH = [ | |
12 "$CHROME_SRC_DIR", | |
13 ], | |
14 ) | |
15 | |
16 if env_res.Bit('windows'): | |
17 env_res.Append( | |
18 RCFLAGS = [ | |
19 ["/l", "0x409"], | |
20 ], | |
21 ) | |
22 | |
23 env_grd = env.Clone() | |
24 # This dummy target (webkit_resources) is used to tell the emitter where | |
25 # to put the target files. | |
26 generated = env_grd.GRIT( | |
27 '$TARGET_ROOT/grit_derived_sources/fake_generated_resources', | |
28 '$CHROME_SRC_DIR/webkit/glue/webkit_resources.grd') | |
29 | |
30 if env_res.Bit('windows'): | |
31 for g in [g for g in generated if str(g).endswith('.rc')]: | |
32 env_res.RES(g) | |
33 | |
34 env.ChromeMSVSProject('$WEBKIT_DIR/build/webkit_resources/webkit_resources.vcpro
j', | |
35 guid='{0B469837-3D46-484A-AFB3-C5A6C68730B9}') | |
OLD | NEW |