1 #!/usr/bin/env python 2 # 3 # Copyright 2016 Google Inc. 4 # 5 # Use of this source code is governed by a BSD-style license that can be 6 # found in the LICENSE file. 7 8 9 """Resolve the path placeholders in the win_toolchain.json file.""" 10 11 12 import argparse 13 import win_toolchain_utils 14 15 16 def main(): 17 parser = argparse.ArgumentParser() 18 parser.add_argument('--win_toolchain_json', required=True) 19 parser.add_argument('--depot_tools_parent_dir', required=True) 20 args = parser.parse_args() 21 win_toolchain_utils.resolve(args.win_toolchain_json, 22 args.depot_tools_parent_dir) 23 24 25 if __name__ == '__main__': 26 main() 27