Exemple #1
0
        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));
        }
Exemple #2
0
        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);
        }
Exemple #3
0
	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);
	}
Exemple #4
0
	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;
	}