From 05f30005613af4ad0be8bad2f06d15a7257586c0 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Wed, 6 Oct 2010 22:40:40 +0200 Subject: SourceFile: change the definition of 'used' Consider a source file as used only if actual C code (or declarations) have been generated from something in that source file. This greatly reduces the number of dependencies listed for compilations that touch a large number of symbols in trivial ways without really making use of them (for example, when listing a very large number of unused fast-vapi files, as parvala does). Fixes bug 630144. --- vala/valasourcefile.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vala/valasourcefile.vala') diff --git a/vala/valasourcefile.vala b/vala/valasourcefile.vala index 28397cf4b..9bb225f40 100644 --- a/vala/valasourcefile.vala +++ b/vala/valasourcefile.vala @@ -69,7 +69,7 @@ public class Vala.SourceFile { /** * If the file has been used (ie: if anything in the file has - * been found by symbol resolution). + * been emitted into C code as a definition or declaration). */ public bool used { get; set; } -- cgit v1.2.1