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

Unified Diff: hammer

Issue 2016053004: Dropping remaining scons references. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « git-gs ('k') | hammer.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: hammer
diff --git a/hammer b/hammer
deleted file mode 100755
index 627c3c60da537afce04d2f6cc018731d58dab0a9..0000000000000000000000000000000000000000
--- a/hammer
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-#
-# 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.
-
-# A script to invoke scons in gyp generated projects.
-
-# Find the 'src' directory by looking for the site_scons directory.
-# This method allows trees that don't use the name src to use this script.
-# Explicitly skip site_scons directories that are from the 'software
-# construction toolkit', since these are not gyp compatible.
-SRC_DIR=`pwd`
-while [ ! -d "${SRC_DIR}/site_scons" ] || \
- [ -e "${SRC_DIR}/site_scons/site_tools/component_setup.py" ]; do
- PARENT_DIR="$(dirname "${SRC_DIR}")"
- if [ "${SRC_DIR}" = "${PARENT_DIR}" ]; then
- echo "ERROR: hammer must be run in a directory with site_scons under" >&2
- echo " the root of the project tree." >&2
- exit 1
- fi
- SRC_DIR="${PARENT_DIR}"
-done
-
-SCONS="${SRC_DIR}/third_party/scons/scons.py"
-SITE_SCONS="${SRC_DIR}/site_scons"
-
-exec python "${SCONS}" "--site-dir=${SITE_SCONS}" "$@"
« no previous file with comments | « git-gs ('k') | hammer.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698