summaryrefslogtreecommitdiff
path: root/tools/aidl/aidl.cpp
diff options
context:
space:
mode:
authorChristopher Wiley <wiley@google.com>2015-08-31 19:07:40 +0000
committerChristopher Wiley <wiley@google.com>2015-08-31 19:07:40 +0000
commitecaf21c3772befaac64f80bc3daeea0a29b59ddb (patch)
tree1573527fc45b03acf1dae8c0980049633ae50a17 /tools/aidl/aidl.cpp
parenteea2353a3427f7d157c46e24ab6aba1378e16c2e (diff)
Revert "Tighten up compiler flags for aidl"
This reverts commit eea2353a3427f7d157c46e24ab6aba1378e16c2e. This seems to have broken the build because whatever compiler the builder is using doesn't understand the same "turn off this warning" flags as my local host's compiler. Change-Id: Ic68b7065b161a5ae683b7082c67147835833e0fa
Diffstat (limited to 'tools/aidl/aidl.cpp')
-rw-r--r--tools/aidl/aidl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/aidl/aidl.cpp b/tools/aidl/aidl.cpp
index 0df9f065381a..2d8f0acf8bb5 100644
--- a/tools/aidl/aidl.cpp
+++ b/tools/aidl/aidl.cpp
@@ -165,6 +165,11 @@ import_import_parsed(buffer_type* statement)
{
}
+static ParserCallbacks g_importCallbacks = {
+ &main_document_parsed,
+ &import_import_parsed
+};
+
// ==========================================================
static int
check_filename(const char* filename, const char* package, buffer_type* name)