Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Side by Side Diff: visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/Connect.cs

Issue 11367026: [VS Addin] Add PNaCl configs to examples (Closed) Base URL: http://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 namespace NativeClientVSAddIn 5 namespace NativeClientVSAddIn
6 { 6 {
7 using System; 7 using System;
8 8
9 using EnvDTE; 9 using EnvDTE;
10 using EnvDTE80; 10 using EnvDTE80;
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 /// PerformPropertyFixes() performs a work around on the property pages to f orce Visual Studio 166 /// PerformPropertyFixes() performs a work around on the property pages to f orce Visual Studio
167 /// to save some specific properties into the project file to get around iss ue 140162. 167 /// to save some specific properties into the project file to get around iss ue 140162.
168 /// </summary> 168 /// </summary>
169 private void PerformPropertyModifications() 169 private void PerformPropertyModifications()
170 { 170 {
171 string naclAddInVersion = GetAddInMajorVersion().ToString(); 171 string naclAddInVersion = GetAddInMajorVersion().ToString();
172 172
173 var configs = Utility.GetPlatformVCConfigurations(dte_, Strings.PepperPlat formName); 173 var configs = Utility.GetPlatformVCConfigurations(dte_, Strings.PepperPlat formName);
174 configs.AddRange(Utility.GetPlatformVCConfigurations(dte_, Strings.NaCl64P latformName)); 174 configs.AddRange(Utility.GetPlatformVCConfigurations(dte_, Strings.NaCl64P latformName));
175 configs.AddRange(Utility.GetPlatformVCConfigurations(dte_, Strings.NaCl32P latformName)); 175 configs.AddRange(Utility.GetPlatformVCConfigurations(dte_, Strings.NaCl32P latformName));
176 configs.AddRange(Utility.GetPlatformVCConfigurations(dte_, Strings.PNaClPl atformName));
176 177
177 178
178 var properties = new PropertyManager(); 179 var properties = new PropertyManager();
179 foreach (VCConfiguration config in configs) 180 foreach (VCConfiguration config in configs)
180 { 181 {
181 properties.SetTarget(config); 182 properties.SetTarget(config);
182 183
183 IVCRulePropertyStorage debugger = config.Rules.Item("WindowsLocalDebugge r"); 184 IVCRulePropertyStorage debugger = config.Rules.Item("WindowsLocalDebugge r");
184 string executable = debugger.GetUnevaluatedPropertyValue("LocalDebuggerC ommand"); 185 string executable = debugger.GetUnevaluatedPropertyValue("LocalDebuggerC ommand");
185 186
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 } 275 }
275 else if (properties.PlatformType == PropertyManager.ProjectPlatformType. Pepper) 276 else if (properties.PlatformType == PropertyManager.ProjectPlatformType. Pepper)
276 { 277 {
277 debugger_ = new PluginDebuggerVS(dte_, properties); 278 debugger_ = new PluginDebuggerVS(dte_, properties);
278 webServer_ = new WebServer(webServerOutputPane_, properties); 279 webServer_ = new WebServer(webServerOutputPane_, properties);
279 } 280 }
280 } 281 }
281 } 282 }
282 } 283 }
283 } 284 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698