diff options
Diffstat (limited to 'tools/gyp/gyp')
-rwxr-xr-x | tools/gyp/gyp | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/tools/gyp/gyp b/tools/gyp/gyp index d52e7116f..a157f3495 100755 --- a/tools/gyp/gyp +++ b/tools/gyp/gyp @@ -1,18 +1,7 @@ -#!/usr/bin/env python - -# Copyright (c) 2009 Google Inc. All rights reserved. +#!/bin/bash +# Copyright 2013 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. -import sys - -# TODO(mark): sys.path manipulation is some temporary testing stuff. -try: - import gyp -except ImportError, e: - import os.path - sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), 'pylib')) - import gyp - -if __name__ == '__main__': - sys.exit(gyp.main(sys.argv[1:])) +BASE=`dirname $0` +python $BASE/gyp_main.py "$@" |