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

Side by Side Diff: visual_studio/NativeClientVSAddIn/NaCl.Build.CPPTasks/NaClToolTask.cs

Issue 11348050: [VS Addin] Add automatic nmf creation (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 using System; 5 using System;
6 using System.Collections.Generic; 6 using System.Collections.Generic;
7 using System.Text; 7 using System.Text;
8 using System.Collections; 8 using System.Collections;
9 using System.IO; 9 using System.IO;
10 using System.Reflection; 10 using System.Reflection;
(...skipping 25 matching lines...) Expand all
36 protected abstract CanonicalTrackedOutputFiles OutputWriteTLog(ITaskItem [] compiledSources); 36 protected abstract CanonicalTrackedOutputFiles OutputWriteTLog(ITaskItem [] compiledSources);
37 protected abstract void OutputReadTLog(ITaskItem[] compiledSources, Cano nicalTrackedOutputFiles outputs); 37 protected abstract void OutputReadTLog(ITaskItem[] compiledSources, Cano nicalTrackedOutputFiles outputs);
38 protected abstract void OutputCommandTLog(ITaskItem[] compiledSources); 38 protected abstract void OutputCommandTLog(ITaskItem[] compiledSources);
39 39
40 [Required] 40 [Required]
41 public string TrackerLogDirectory { get; set; } 41 public string TrackerLogDirectory { get; set; }
42 42
43 [Required] 43 [Required]
44 public virtual ITaskItem[] Sources { get; set; } 44 public virtual ITaskItem[] Sources { get; set; }
45 45
46
47 // Override default StandardOutputLoggingImportance so that we see the s tdout from the
48 // toolchain from within visual studio.
49 protected override MessageImportance StandardOutputLoggingImportance
50 {
51 get { return MessageImportance.Normal; }
52 }
53
46 protected bool ForcedRebuildRequired() 54 protected bool ForcedRebuildRequired()
47 { 55 {
48 string tlogCommandPath = null; 56 string tlogCommandPath = null;
49 57
50 try 58 try
51 { 59 {
52 tlogCommandPath = this.TLogCommandFile.GetMetadata("FullPath"); 60 tlogCommandPath = this.TLogCommandFile.GetMetadata("FullPath");
53 } 61 }
54 catch (Exception exception) 62 catch (Exception exception)
55 { 63 {
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 290
283 protected virtual string WriteTLogFilename 291 protected virtual string WriteTLogFilename
284 { 292 {
285 get 293 get
286 { 294 {
287 return BaseTool() + ".compile.write.1.tlog"; 295 return BaseTool() + ".compile.write.1.tlog";
288 } 296 }
289 } 297 }
290 } 298 }
291 } 299 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698