OLD | NEW |
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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 string executablePath = directories.GetUnevaluatedPropertyValue("Executa
blePath"); | 236 string executablePath = directories.GetUnevaluatedPropertyValue("Executa
blePath"); |
237 directories.SetPropertyValue("ExecutablePath", executablePath); | 237 directories.SetPropertyValue("ExecutablePath", executablePath); |
238 } | 238 } |
239 | 239 |
240 // NaCl Platform Specific: | 240 // NaCl Platform Specific: |
241 if (config.Platform.Name == Strings.NaClPlatformName) | 241 if (config.Platform.Name == Strings.NaClPlatformName) |
242 { | 242 { |
243 IVCRulePropertyStorage general = config.Rules.Item("ConfigurationGeneral
"); | 243 IVCRulePropertyStorage general = config.Rules.Item("ConfigurationGeneral
"); |
244 string outdir = general.GetUnevaluatedPropertyValue("OutDir"); | 244 string outdir = general.GetUnevaluatedPropertyValue("OutDir"); |
245 string intdir = general.GetUnevaluatedPropertyValue("IntDir"); | 245 string intdir = general.GetUnevaluatedPropertyValue("IntDir"); |
246 string irtPath = general.GetUnevaluatedPropertyValue("NaClIrtPath"); | |
247 general.SetPropertyValue("NaClIrtPath", irtPath); | |
248 general.SetPropertyValue("OutDir", outdir); | 246 general.SetPropertyValue("OutDir", outdir); |
249 general.SetPropertyValue("IntDir", intdir); | 247 general.SetPropertyValue("IntDir", intdir); |
250 } | 248 } |
251 } | 249 } |
252 | 250 |
253 /// <summary> | 251 /// <summary> |
254 /// During the build process we dynamically put the add-in version number in
to the add-in | 252 /// During the build process we dynamically put the add-in version number in
to the add-in |
255 /// description. This function extracts that version number. | 253 /// description. This function extracts that version number. |
256 /// </summary> | 254 /// </summary> |
257 /// <returns>The add-in version number.</returns> | 255 /// <returns>The add-in version number.</returns> |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 webServer_ = new WebServer(webServerOutputPane_, properties); | 313 webServer_ = new WebServer(webServerOutputPane_, properties); |
316 } | 314 } |
317 else if (properties.ProjectPlatform == PropertyManager.ProjectPlatformTy
pe.Pepper) | 315 else if (properties.ProjectPlatform == PropertyManager.ProjectPlatformTy
pe.Pepper) |
318 { | 316 { |
319 debugger_ = new PluginDebuggerVS(dte_, properties); | 317 debugger_ = new PluginDebuggerVS(dte_, properties); |
320 webServer_ = new WebServer(webServerOutputPane_, properties); | 318 webServer_ = new WebServer(webServerOutputPane_, properties); |
321 } | 319 } |
322 } | 320 } |
323 } | 321 } |
324 } | 322 } |
325 } | 323 } |
OLD | NEW |