From 9db3d07b9620b4269ab33f78604a36327e536ce1 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Queru Date: Thu, 12 Nov 2009 18:45:53 -0800 Subject: eclair snapshot --- tools/aidl/AST.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'tools/aidl/AST.cpp') diff --git a/tools/aidl/AST.cpp b/tools/aidl/AST.cpp index 85ca5da..752ef7c 100755 --- a/tools/aidl/AST.cpp +++ b/tools/aidl/AST.cpp @@ -845,23 +845,6 @@ Document::Write(FILE* to) fprintf(to, "package %s;\n", this->package.c_str()); } - // gather the types for the import statements - set types; - N = this->classes.size(); - for (i=0; iclasses[i]; - c->GatherTypes(&types); - } - - set::iterator it; - for (it=types.begin(); it!=types.end(); it++) { - Type* t = *it; - string pkg = t->Package(); - if (pkg.length() != 0 && pkg != this->package) { - fprintf(to, "import %s;\n", t->ImportType().c_str()); - } - } - N = this->classes.size(); for (i=0; iclasses[i]; -- cgit v1.1