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

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

Issue 11430: Fix use of LOAD= with WantSystemLib()... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(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 """
6 Tool module for adding, to a construction environment, Chromium-specific
7 wrappers around Hammer builders. This gives us a central place for any
8 customization we need to make to the different things we build.
9 """
10
11 def generate(env):
12 def ChromeProgram(env, *args, **kw):
Evan Martin 2008/11/20 21:11:42 two-space tabs :\
sgk 2008/11/21 01:06:28 Done; also in other chrome*py module.
13 return env.ComponentProgram(*args, **kw)
14 env.AddMethod(ChromeProgram)
15
16 def ChromeTestProgram(env, *args, **kw):
17 return env.ComponentTestProgram(*args, **kw)
18 env.AddMethod(ChromeTestProgram)
19
20 def ChromeStaticLibrary(env, *args, **kw):
21 kw['COMPONENT_STATIC'] = True
22 return env.ComponentLibrary(*args, **kw)
23 env.AddMethod(ChromeStaticLibrary)
24
25 def ChromeSharedLibrary(env, *args, **kw):
26 kw['COMPONENT_STATIC'] = False
27 return [env.ComponentLibrary(*args, **kw)[0]]
28 env.AddMethod(ChromeSharedLibrary)
29
30 def ChromeObject(env, *args, **kw):
31 return env.ComponentObject(*args, **kw)
32 env.AddMethod(ChromeObject)
33
34 def exists(env):
35 return True
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698