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

Unified Diff: visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/Connect.cs

Issue 11266051: Add PNaCl support for VS addin. (Closed) Base URL: http://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: fix nits and tests Created 8 years, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/Connect.cs
diff --git a/visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/Connect.cs b/visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/Connect.cs
index 186db0499cb1423f34f57552722285ebfc4ff55d..6d427218af4941531056ea80823214827b628201 100644
--- a/visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/Connect.cs
+++ b/visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/Connect.cs
@@ -200,11 +200,11 @@ namespace NativeClientVSAddIn
// Change the library includes to have the appropriate extension.
string libs = properties.GetProperty("Link", "AdditionalDependencies");
- if (properties.ProjectPlatform == PropertyManager.ProjectPlatformType.NaCl)
+ if (properties.PlatformType == PropertyManager.ProjectPlatformType.NaCl)
{
libs = libs.Replace(".lib", string.Empty);
}
- else if (properties.ProjectPlatform == PropertyManager.ProjectPlatformType.Pepper)
+ else if (properties.PlatformType == PropertyManager.ProjectPlatformType.Pepper)
{
string[] libsList = libs.Split(';');
libs = string.Empty;
@@ -267,12 +267,12 @@ namespace NativeClientVSAddIn
{
PropertyManager properties = new PropertyManager();
properties.SetTargetToActive(dte_);
- if (properties.ProjectPlatform == PropertyManager.ProjectPlatformType.NaCl)
+ if (properties.PlatformType == PropertyManager.ProjectPlatformType.NaCl)
{
debugger_ = new PluginDebuggerGDB(dte_, properties);
webServer_ = new WebServer(webServerOutputPane_, properties);
}
- else if (properties.ProjectPlatform == PropertyManager.ProjectPlatformType.Pepper)
+ else if (properties.PlatformType == PropertyManager.ProjectPlatformType.Pepper)
{
debugger_ = new PluginDebuggerVS(dte_, properties);
webServer_ = new WebServer(webServerOutputPane_, properties);

Powered by Google App Engine
This is Rietveld 408576698