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

Unified Diff: site_scons/site_tools/chromium_builders.py

Issue 5535003: scons: excise more scons references from the code base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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
« no previous file with comments | « ipc/ipc_message_macros.h ('k') | testing/gmock.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site_scons/site_tools/chromium_builders.py
diff --git a/site_scons/site_tools/chromium_builders.py b/site_scons/site_tools/chromium_builders.py
deleted file mode 100644
index 0d9b0f796b8ccf4017ad12c5312da8c99fe58d94..0000000000000000000000000000000000000000
--- a/site_scons/site_tools/chromium_builders.py
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright (c) 2006-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.
-
-"""
-Tool module for adding, to a construction environment, Chromium-specific
-wrappers around SCons builders. This gives us a central place for any
-customization we need to make to the different things we build.
-"""
-
-import sys
-
-from SCons.Script import *
-
-class Null(object):
- def __new__(cls, *args, **kwargs):
- if '_inst' not in vars(cls):
- cls._inst = super(type, cls).__new__(cls, *args, **kwargs)
- return cls._inst
- def __init__(self, *args, **kwargs): pass
- def __call__(self, *args, **kwargs): return self
- def __repr__(self): return "Null()"
- def __nonzero__(self): return False
- def __getattr__(self, name): return self
- def __setattr__(self, name, val): return self
- def __delattr__(self, name): return self
- def __getitem__(self, name): return self
-
-
-def generate(env):
- # Add the grit tool to the base environment because we use this a lot.
- sys.path.append(env.Dir('$SRC_DIR/tools/grit').abspath)
- env.Tool('scons', toolpath=[env.Dir('$SRC_DIR/tools/grit/grit')])
-
- # Add the repack python script tool that we use in multiple places.
- sys.path.append(env.Dir('$SRC_DIR/tools/data_pack').abspath)
- env.Tool('scons', toolpath=[env.Dir('$SRC_DIR/tools/data_pack/')])
-
-def exists(env):
- return True
« no previous file with comments | « ipc/ipc_message_macros.h ('k') | testing/gmock.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698