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

Side by Side Diff: site_scons/site_tools/chromium_builders.py

Issue 123015: Add .fragment and .sigs to non-compiliable suffixes. (Closed)
Patch Set: Created 11 years, 6 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
« no previous file with comments | « no previous file | no next file » | 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 """ 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 156
157 import __builtin__ 157 import __builtin__
158 __builtin__.ChromeFileList = ChromeFileList 158 __builtin__.ChromeFileList = ChromeFileList
159 159
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 '.fragment',
165 '.gperf', 166 '.gperf',
166 '.h', 167 '.h',
167 '.html', 168 '.html',
168 '.hxx', 169 '.hxx',
169 '.idl', 170 '.idl',
171 '.js',
170 '.mk', 172 '.mk',
171 '.js',
172 '.rc', 173 '.rc',
174 '.sigs',
173 ]), 175 ]),
174 'WINDOWS' : set([ 176 'WINDOWS' : set([
175 '.h', 177 '.h',
176 '.dat', 178 '.dat',
177 '.idl', 179 '.idl',
178 ]), 180 ]),
179 } 181 }
180 182
181 def compilable(env, file): 183 def compilable(env, file):
182 base, ext = os.path.splitext(str(file)) 184 base, ext = os.path.splitext(str(file))
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 # Add the grit tool to the base environment because we use this a lot. 263 # Add the grit tool to the base environment because we use this a lot.
262 sys.path.append(env.Dir('$SRC_DIR/tools/grit').abspath) 264 sys.path.append(env.Dir('$SRC_DIR/tools/grit').abspath)
263 env.Tool('scons', toolpath=[env.Dir('$SRC_DIR/tools/grit/grit')]) 265 env.Tool('scons', toolpath=[env.Dir('$SRC_DIR/tools/grit/grit')])
264 266
265 # Add the repack python script tool that we use in multiple places. 267 # Add the repack python script tool that we use in multiple places.
266 sys.path.append(env.Dir('$SRC_DIR/tools/data_pack').abspath) 268 sys.path.append(env.Dir('$SRC_DIR/tools/data_pack').abspath)
267 env.Tool('scons', toolpath=[env.Dir('$SRC_DIR/tools/data_pack/')]) 269 env.Tool('scons', toolpath=[env.Dir('$SRC_DIR/tools/data_pack/')])
268 270
269 def exists(env): 271 def exists(env):
270 return True 272 return True
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698