You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
410 B
Bash
15 lines
410 B
Bash
#!/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")
|
|
|
|
# In git bash on Windows, invoke the batch file.
|
|
if [ "$(expr "$(uname -s)" : "^MINGW64_NT")" == "10" ]; then
|
|
gn.bat "$@"
|
|
exit
|
|
fi
|
|
|
|
PYTHONDONTWRITEBYTECODE=1 exec python3 "$base_dir/gn.py" "$@"
|