| 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 """ | 5 """ |
| 6 Tool module for adding, to a construction environment, Chromium-specific | 6 Tool module for adding, to a construction environment, Chromium-specific |
| 7 wrappers around SCons builders. This gives us a central place for any | 7 wrappers around SCons builders. This gives us a central place for any |
| 8 customization we need to make to the different things we build. | 8 customization we need to make to the different things we build. |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 non_compilable_suffixes = { | 160 non_compilable_suffixes = { |
| 161 'LINUX' : set([ | 161 'LINUX' : set([ |
| 162 '.bdic', | 162 '.bdic', |
| 163 '.css', | 163 '.css', |
| 164 '.dat', | 164 '.dat', |
| 165 '.gperf', | 165 '.gperf', |
| 166 '.h', | 166 '.h', |
| 167 '.html', | 167 '.html', |
| 168 '.hxx', | 168 '.hxx', |
| 169 '.idl', | 169 '.idl', |
| 170 '.mk', |
| 170 '.js', | 171 '.js', |
| 171 '.rc', | 172 '.rc', |
| 172 ]), | 173 ]), |
| 173 'WINDOWS' : set([ | 174 'WINDOWS' : set([ |
| 174 '.h', | 175 '.h', |
| 175 '.dat', | 176 '.dat', |
| 176 '.idl', | 177 '.idl', |
| 177 ]), | 178 ]), |
| 178 } | 179 } |
| 179 | 180 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 # Add the grit tool to the base environment because we use this a lot. | 261 # Add the grit tool to the base environment because we use this a lot. |
| 261 sys.path.append(env.Dir('$SRC_DIR/tools/grit').abspath) | 262 sys.path.append(env.Dir('$SRC_DIR/tools/grit').abspath) |
| 262 env.Tool('scons', toolpath=[env.Dir('$SRC_DIR/tools/grit/grit')]) | 263 env.Tool('scons', toolpath=[env.Dir('$SRC_DIR/tools/grit/grit')]) |
| 263 | 264 |
| 264 # Add the repack python script tool that we use in multiple places. | 265 # Add the repack python script tool that we use in multiple places. |
| 265 sys.path.append(env.Dir('$SRC_DIR/tools/data_pack').abspath) | 266 sys.path.append(env.Dir('$SRC_DIR/tools/data_pack').abspath) |
| 266 env.Tool('scons', toolpath=[env.Dir('$SRC_DIR/tools/data_pack/')]) | 267 env.Tool('scons', toolpath=[env.Dir('$SRC_DIR/tools/data_pack/')]) |
| 267 | 268 |
| 268 def exists(env): | 269 def exists(env): |
| 269 return True | 270 return True |
| OLD | NEW |