Commit Graph

4 Commits (main)

Author SHA1 Message Date
Jamie Madill 67574d7a19 gn: Call gn.bat in msysgit on Windows.
Since 'python3' might not exist in Windows, this fixes the 'gn'
script for msysgit users.

Recipe-Manual-Change: infra
Bug: None
Change-Id: Ic5ed76963a7cf1819008470079256a6fd572fb0e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3103446
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Auto-Submit: Jamie Madill <jmadill@chromium.org>
4 years ago
Mirko Bonadei ea4e399c4d Switch gn wrapper scripts to invoke python3.
Bug: 941669
Change-Id: I515459793f2a406a959c361f9884b183e21ebdf7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2825439
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Mirko Bonadei <mbonadei@chromium.org>
4 years ago
brettw@chromium.org a738935a12 Add executable and line ending properties for GN.
R=maruel@chromium.org

Review URL: https://codereview.chromium.org/69693002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@234321 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
brettw@chromium.org 67bb861400 Add a wrapper script for GN to depot_tools
This automatically searches the path for a source root (or takes one from the
command line), and then executes the current platform's GN binary inside that
source tree.

This will allow the user to have a "gn" command on their path, and allow our
scripts to run GN without having to bake-in the logic for finding the correct
platform's GN binary.

Review URL: https://codereview.chromium.org/66013002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@233983 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago