| 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 ".", | |
| 13 #"$CHROME_SRC_DIR/chrome/Debug/obj/chrome_dll", | |
| 14 "$CHROME_SRC_DIR", | |
| 15 #"$CHROME_SRC_DIR/chrome/Debug/obj", | |
| 16 ], | |
| 17 ) | |
| 18 | |
| 19 if env_res.Bit('windows'): | |
| 20 env_res.Append( | |
| 21 RCFLAGS = [ | |
| 22 ["/l", "0x409"], | |
| 23 ], | |
| 24 ) | |
| 25 | |
| 26 env_grd = env.Clone() | |
| 27 # This dummy target (webkit_strings) is used to tell the emitter where | |
| 28 # to put the target files. | |
| 29 generated = env_grd.GRIT( | |
| 30 '$TARGET_ROOT/grit_derived_sources/fake_generated_target', | |
| 31 '$CHROME_SRC_DIR/webkit/glue/webkit_strings.grd') | |
| 32 | |
| 33 if env_res.Bit('windows'): | |
| 34 for g in [g for g in generated if str(g).endswith('.rc')]: | |
| 35 env_res.RES(g) | |
| 36 | |
| 37 env.ChromeMSVSProject('$WEBKIT_DIR/build/localized_strings/localized_strings.vcp
roj', | |
| 38 guid='{60B43839-95E6-4526-A661-209F16335E0E}') | |
| OLD | NEW |