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

Side by Side Diff: gears/site_scons/utils.py

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « gears/gears.gyp ('k') | o3d/breakpad/win/crash_sender_win32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 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 def PatternRule(target, source, env):
6 """Apply env substitution to a target with $SOURCE included. Returns a list
7 containing the new target and source to pass to a builder."""
8 target_sub = env.subst(target, source=env.File(source))
9 return [target_sub, source]
10
11 def GetInputs(var, env):
12 """Expands an env substitution variable and returns it as a list of
13 strings."""
14 return [str(v) for v in env.subst_list(var)[0]]
OLDNEW
« no previous file with comments | « gears/gears.gyp ('k') | o3d/breakpad/win/crash_sender_win32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698