| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "tools/gn/visual_studio_writer.h" | 5 #include "tools/gn/visual_studio_writer.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 path_output_.WriteFile(out, source_file_); | 60 path_output_.WriteFile(out, source_file_); |
| 61 } | 61 } |
| 62 | 62 |
| 63 PathOutput& path_output_; | 63 PathOutput& path_output_; |
| 64 const SourceFile& source_file_; | 64 const SourceFile& source_file_; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 const char kToolsetVersion[] = "v140"; // Visual Studio 2015 | 67 const char kToolsetVersion[] = "v140"; // Visual Studio 2015 |
| 68 const char kVisualStudioVersion[] = "14.0"; // Visual Studio 2015 | 68 const char kVisualStudioVersion[] = "14.0"; // Visual Studio 2015 |
| 69 const char kWindowsKitsVersion[] = "10"; // Windows 10 SDK | 69 const char kWindowsKitsVersion[] = "10"; // Windows 10 SDK |
| 70 const char kWindowsKitsIncludeVersion[] = "10.0.10240.0"; // Windows 10 SDK | 70 const char kWindowsKitsIncludeVersion[] = "10.0.10586.0"; // Windows 10 SDK |
| 71 | 71 |
| 72 const char kGuidTypeProject[] = "{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}"; | 72 const char kGuidTypeProject[] = "{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}"; |
| 73 const char kGuidTypeFolder[] = "{2150E333-8FDC-42A3-9474-1A3956D46DE8}"; | 73 const char kGuidTypeFolder[] = "{2150E333-8FDC-42A3-9474-1A3956D46DE8}"; |
| 74 const char kGuidSeedProject[] = "project"; | 74 const char kGuidSeedProject[] = "project"; |
| 75 const char kGuidSeedFolder[] = "folder"; | 75 const char kGuidSeedFolder[] = "folder"; |
| 76 const char kGuidSeedFilter[] = "filter"; | 76 const char kGuidSeedFilter[] = "filter"; |
| 77 | 77 |
| 78 std::string GetWindowsKitsIncludeDirs() { | 78 std::string GetWindowsKitsIncludeDirs() { |
| 79 std::string kits_path; | 79 std::string kits_path; |
| 80 | 80 |
| (...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 723 base::CompareCase::SENSITIVE)) { | 723 base::CompareCase::SENSITIVE)) { |
| 724 folder->parent_folder = parents.back(); | 724 folder->parent_folder = parents.back(); |
| 725 break; | 725 break; |
| 726 } else { | 726 } else { |
| 727 parents.pop_back(); | 727 parents.pop_back(); |
| 728 } | 728 } |
| 729 } | 729 } |
| 730 parents.push_back(folder); | 730 parents.push_back(folder); |
| 731 } | 731 } |
| 732 } | 732 } |
| OLD | NEW |