gn 428 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. # Copyright 2013 The Chromium Authors. All rights reserved.
  3. # Use of this source code is governed by a BSD-style license that can be
  4. # found in the LICENSE file.
  5. base_dir=$(dirname "$0")
  6. # In git bash on Windows, invoke the batch file.
  7. if [ "$(expr "$(uname -s)" : "^MINGW64_NT")" == "10" ]; then
  8. gn.bat "$@"
  9. exit
  10. fi
  11. PYTHONDONTWRITEBYTECODE=1 "$base_dir/python-bin/python3" "$base_dir/gn.py" "$@"