Files
chromium_depot_tools/compile_single_file
Sebastien Marchand 4dd9682b11 Add a script to make it easier to build a single source file with ninja
Bug: 759146
Change-Id: I19edd0b525044655bb9a38b7ada0be9064457f38
Reviewed-on: https://chromium-review.googlesource.com/636446
Commit-Queue: Sébastien Marchand <sebmarchand@chromium.org>
Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>
2017-09-06 18:22:17 +00:00

9 lines
298 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright (c) 2017 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")
PYTHONDONTWRITEBYTECODE=1 exec python -u "$base_dir/compile_single_file.py" "$@"