[vala] Do not lookup for .deps file when passing .vapi files to valac



commit 27556ab7ef331a75efe7b12041713421f3112881
Author: Luca Bruno <lucabru src gnome org>
Date:   Tue Aug 16 09:54:24 2011 +0200

    Do not lookup for .deps file when passing .vapi files to valac
    
    Fixes bug 648336.

 vala/valacodecontext.vala |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/vala/valacodecontext.vala b/vala/valacodecontext.vala
index 47681ff..62eeaee 100644
--- a/vala/valacodecontext.vala
+++ b/vala/valacodecontext.vala
@@ -420,11 +420,6 @@ public class Vala.CodeContext {
 			source_file.relative_filename = filename;
 
 			add_source_file (source_file);
-			// look for a local .deps
-			var deps_filename = "%s.deps".printf (filename.substring (0, filename.length - ".vapi".length));
-			if (!add_packages_from_file (deps_filename)) {
-				return false;
-			}
 		} else if (filename.has_suffix (".c")) {
 			add_c_source_file (rpath);
 		} else {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]