
These scripts belong in //build and should not have deps on //tools. This CL is more of a simple move, subsequent CLs may combine some common code with gn_ast.py. This refactor also makes dep_operations.py easier to use via the shortcut: //build/gn_editor Bug: 1486020 Fixed: 1486020 Change-Id: I3d186616517a9c53addb0ac2960c1af047d4bfe5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4885960 Auto-Submit: Peter Wen <wnwen@chromium.org> Reviewed-by: Andrew Grieve <agrieve@chromium.org> Commit-Queue: Peter Wen <wnwen@chromium.org> Commit-Queue: Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/main@{#1201207}
9 lines
229 B
Bash
Executable File
9 lines
229 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright 2023 The Chromium Authors
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
base_dir=$(dirname "$0")
|
|
|
|
exec python3 "$base_dir/gn_ast/gn_editor.py" "$@"
|