2f56b1aba2
NOTRY=true BUG=skia:4763, skia:4553 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1782943002 Review URL: https://codereview.chromium.org/1782943002
27 lines
630 B
Python
27 lines
630 B
Python
#!/usr/bin/env python
|
|
#
|
|
# Copyright 2016 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
|
|
"""Resolve the path placeholders in the win_toolchain.json file."""
|
|
|
|
|
|
import argparse
|
|
import win_toolchain_utils
|
|
|
|
|
|
def main():
|
|
parser = argparse.ArgumentParser()
|
|
parser.add_argument('--win_toolchain_json', required=True)
|
|
parser.add_argument('--depot_tools_parent_dir', required=True)
|
|
args = parser.parse_args()
|
|
win_toolchain_utils.resolve(args.win_toolchain_json,
|
|
args.depot_tools_parent_dir)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|