@@ -0,0 +1,1311 @@
+#!/usr/bin/python%0A#%0A# Copyright 2017 The ANGLE Project Authors. All rights reserved.%0A# Use of this source code is governed by a BSD-style license that can be%0A# found in the LICENSE file.%0A#%0A# msvs_projects.py:%0A#   A helper utility that generates Visual Studio projects for each of%0A#   the available directories in 'out', and then runs another helper%0A#   utility that merges these projects into one solution.%0A%0Aimport sys, os, subprocess%0A%0A# Change this to target another VS version.%0Atarget_ide = 'vs2017'%0Asolution_name = 'ANGLE'%0A%0Ascript_dir = os.path.dirname(sys.argv%5B0%5D)%0A%0A# Set the CWD to the root ANGLE folder.%0Aos.chdir(os.path.join(script_dir, '..'))%0A%0Aout_dir = 'out'%0A%0A# Generate the VS solutions for any valid directory.%0Adef generate_projects(dirname):%0A    args = %5B'gn.bat', 'gen', dirname, '--ide=' + target_ide, '--sln=' + solution_name%5D%0A    print('Running %22' + ' '.join(args) + '%22')%0A    subprocess.call(args)%0A%0Afor potential_dir in os.listdir(out_dir):%0A    path = os.path.join(out_dir, potential_dir)%0A    build_ninja_d = os.path.join(path, 'build.ninja.d')%0A    if os.path.exists(build_ninja_d):%0A        generate_projects(path)%0A%0A# Run the helper utility that merges the projects.%0Aargs = %5B'python', os.path.join('build', 'win', 'gn_meta_sln.py')%5D%0Aprint('Running %22' + ' '.join(args) + '%22')%0Asubprocess.call(args)

Add script to generate GN/MSVS projects.