public static Fingerprint MakeBuildPrint(Rule rule, ArgCollector args, IBuildContext ctxt) { List <Fingerprint> fl = new List <Fingerprint> (); fl.Add(rule.GetFingerprint(ctxt, null)); args.CopyFingerprintData(fl, ctxt); return(new CompositeFingerprint(fl, ctxt, null)); }
ArgCollector GetArgs() { if (Rule == null) { return(null); } proj.Log.PushLocation(target); ac = new ArgCollector(rule); if (proj.Graph.ApplyTargetDependencies(tid, ac, proj.Log)) { // Error will be reported (with the correct location!) proj.Log.PopLocation(); return(null); } proj.Log.PopLocation(); return(ac); }
public static Fingerprint MakeBuildPrint (Rule rule, ArgCollector args, IBuildContext ctxt) { List<Fingerprint> fl = new List<Fingerprint> (); fl.Add (rule.GetFingerprint (ctxt, null)); args.CopyFingerprintData (fl, ctxt); return new CompositeFingerprint (fl, ctxt, null); }
ArgCollector GetArgs () { if (Rule == null) return null; proj.Log.PushLocation (target); ac = new ArgCollector (rule); if (proj.Graph.ApplyTargetDependencies (tid, ac, proj.Log)) { // Error will be reported (with the correct location!) proj.Log.PopLocation (); return null; } proj.Log.PopLocation (); return ac; }