| OLD | NEW |
| 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( |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 env_grd.Tool('scons', toolpath=[env_grd.Dir('$CHROME_SRC_DIR/tools/grit/grit')]) | 30 env_grd.Tool('scons', toolpath=[env_grd.Dir('$CHROME_SRC_DIR/tools/grit/grit')]) |
| 31 # This dummy target (webkit_strings) is used to tell the emitter where | 31 # This dummy target (webkit_strings) is used to tell the emitter where |
| 32 # to put the target files. | 32 # to put the target files. |
| 33 generated = env_grd.GRIT( | 33 generated = env_grd.GRIT( |
| 34 '$TARGET_ROOT/grit_derived_sources/fake_generated_target', | 34 '$TARGET_ROOT/grit_derived_sources/fake_generated_target', |
| 35 '$CHROME_SRC_DIR/webkit/glue/webkit_strings.grd') | 35 '$CHROME_SRC_DIR/webkit/glue/webkit_strings.grd') |
| 36 | 36 |
| 37 if env_res.Bit('windows'): | 37 if env_res.Bit('windows'): |
| 38 for g in [g for g in generated if str(g).endswith('.rc')]: | 38 for g in [g for g in generated if str(g).endswith('.rc')]: |
| 39 env_res.RES(g) | 39 env_res.RES(g) |
| 40 |
| 41 env.ChromeMSVSProject('$WEBKIT_DIR/build/localized_strings/localized_strings.vcp
roj', |
| 42 guid='{60B43839-95E6-4526-A661-209F16335E0E}') |
| OLD | NEW |