gn 410 Bytes
Newer Older
1 2 3 4 5 6 7
#!/usr/bin/env 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.

base_dir=$(dirname "$0")

8 9 10 11 12 13
# In git bash on Windows, invoke the batch file.
if [ "$(expr "$(uname -s)" : "^MINGW64_NT")" == "10" ]; then
    gn.bat "$@"
    exit
fi

14
PYTHONDONTWRITEBYTECODE=1 exec python3 "$base_dir/gn.py" "$@"