diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-12 18:16:29 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-12 18:16:29 +0000 |
commit | 2f1fe2982fa83f9503538b73962aabaa59203db0 (patch) | |
tree | a50dcd5c79d9c5cdc182ad2ff10406700b95b149 /tools/gyp-explain.py | |
parent | f1567dd0f1a9a1bb5cebf31883ee718199e3141b (diff) | |
download | chromium_src-2f1fe2982fa83f9503538b73962aabaa59203db0.zip chromium_src-2f1fe2982fa83f9503538b73962aabaa59203db0.tar.gz chromium_src-2f1fe2982fa83f9503538b73962aabaa59203db0.tar.bz2 |
gyp-explain does not work on windows. Tell the user and exit early
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/9107042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117456 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/gyp-explain.py')
-rwxr-xr-x | tools/gyp-explain.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/gyp-explain.py b/tools/gyp-explain.py index 9df68dd..34758ed 100755 --- a/tools/gyp-explain.py +++ b/tools/gyp-explain.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2011 The Chromium Authors. All rights reserved. +# Copyright (c) 2012 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. @@ -52,6 +52,11 @@ def MatchNode(graph, substring): def Main(argv): + if sys.platform in ['win32', 'cygwin']: + print 'The dump_dependency_json gyp generator required for gyp-explain.py' + print 'does not support Windows.' + sys.exit(1) + # Check that dump.json exists and that it's not too old. dump_json_dirty = False try: |