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

Unified 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: ready to review Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: gears/site_scons/utils.py
diff --git a/gears/site_scons/utils.py b/gears/site_scons/utils.py
deleted file mode 100644
index d33b7051af798587a7680d78625578ce34aa7a83..0000000000000000000000000000000000000000
--- a/gears/site_scons/utils.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# Copyright (c) 2008 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-def PatternRule(target, source, env):
- """Apply env substitution to a target with $SOURCE included. Returns a list
- containing the new target and source to pass to a builder."""
- target_sub = env.subst(target, source=env.File(source))
- return [target_sub, source]
-
-def GetInputs(var, env):
- """Expands an env substitution variable and returns it as a list of
- strings."""
- return [str(v) for v in env.subst_list(var)[0]]

Powered by Google App Engine
This is Rietveld 408576698