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

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

Issue 10915292: Use irt from within chrome install (Closed) Base URL: http://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/PluginDebuggerGDB.cs ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 using System.Collections.Generic; 8 using System.Collections.Generic;
9 using System.Linq; 9 using System.Linq;
10 10
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 AssertValidPlatform(); 162 AssertValidPlatform();
163 return GetProperty("ConfigurationGeneral", "NaClWebServerPort"); 163 return GetProperty("ConfigurationGeneral", "NaClWebServerPort");
164 } 164 }
165 165
166 protected set 166 protected set
167 { 167 {
168 } 168 }
169 } 169 }
170 170
171 /// <summary> 171 /// <summary>
172 /// Gets or sets the command to debug (assumed to be chrome.exe)
173 /// </summary>
174 public string LocalDebuggerCommand
175 {
176 get
177 {
178 AssertValidPlatform();
179 return GetProperty("WindowsLocalDebugger", "LocalDebuggerCommand");
180 }
181
182 protected set
183 {
184 }
185 }
186
187 /// <summary>
172 /// Gets or sets the toolchain name. Ex: newlib. 188 /// Gets or sets the toolchain name. Ex: newlib.
173 /// </summary> 189 /// </summary>
174 public string ToolchainName 190 public string ToolchainName
175 { 191 {
176 get 192 get
177 { 193 {
178 AssertNaCl(); 194 AssertNaCl();
179 return GetProperty("ConfigurationGeneral", "ToolchainName"); 195 return GetProperty("ConfigurationGeneral", "ToolchainName");
180 } 196 }
181 197
182 protected set 198 protected set
183 { 199 {
184 } 200 }
185 } 201 }
186 202
187 /// <summary> 203 /// <summary>
188 /// Gets or sets the path to the NaCl IRT to use during debugging. (NaCl pla tform only). 204 /// Gets or sets the target archirecture name. Ex: x86_64.
189 /// </summary> 205 /// </summary>
190 public string IrtPath 206 public string TargetArchitecture
binji 2012/09/17 17:52:06 Where is this set to its default?
Sam Clegg 2012/09/17 19:58:16 IIUC, the visual studio property files define this
191 { 207 {
192 get 208 get
193 { 209 {
194 AssertNaCl(); 210 AssertNaCl();
195 return GetProperty("ConfigurationGeneral", "NaClIrtPath"); 211 return GetProperty("ConfigurationGeneral", "TargetArchitecture");
196 } 212 }
197 213
198 protected set 214 protected set
199 { 215 {
200 } 216 }
201 } 217 }
202 218
203 /// <summary> 219 /// <summary>
204 /// Gets or sets the path to the NaCl manifest file (NaCl platform only). 220 /// Gets or sets the path to the NaCl manifest file (NaCl platform only).
205 /// </summary> 221 /// </summary>
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 private void AssertValidPlatform() 404 private void AssertValidPlatform()
389 { 405 {
390 if (ProjectPlatform == ProjectPlatformType.Other) 406 if (ProjectPlatform == ProjectPlatformType.Other)
391 { 407 {
392 throw new Exception(string.Format( 408 throw new Exception(string.Format(
393 "Unsupported platform type: {0} platform", configuration_.Platform.Nam e)); 409 "Unsupported platform type: {0} platform", configuration_.Platform.Nam e));
394 } 410 }
395 } 411 }
396 } 412 }
397 } 413 }
OLDNEW
« no previous file with comments | « visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/PluginDebuggerGDB.cs ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698