diff options
author | Steven Moreland <smoreland@google.com> | 2017-08-30 16:19:47 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-08-30 16:19:47 +0000 |
commit | b839dc2c162d98b2578c220e0af45ecaac1e64aa (patch) | |
tree | 36c6c0bc633893d12bfb119187e30dca4c1ae05d /Coordinator.cpp | |
parent | 0a2175b8b6e6b8f06a29a3fbab527870ef93c3c0 (diff) | |
parent | a407b7d4ce6cfa8385e30b8a7e7e06e92a1a3681 (diff) | |
download | hidl-b839dc2c162d98b2578c220e0af45ecaac1e64aa.tar.gz |
Fix 'no transitive imports' HIDL guarantee.
am: a407b7d4ce
Change-Id: I86fa0004e478ff88d413ce3402c054aa697dcf25
Diffstat (limited to 'Coordinator.cpp')
-rw-r--r-- | Coordinator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Coordinator.cpp b/Coordinator.cpp index ffb76b12..58d8de07 100644 --- a/Coordinator.cpp +++ b/Coordinator.cpp @@ -86,8 +86,8 @@ AST* Coordinator::parse(const FQName& fqName, std::set<AST*>* parsedASTs, if (fqName.name() != "types") { // Any interface file implicitly imports its package's types.hal. FQName typesName = fqName.getTypesForPackage(); - // Do not enforce on imports. - typesAST = parse(typesName, parsedASTs, Enforce::NONE); + // Do not enforce on imports. Do not add imports' imports to this AST. + typesAST = parse(typesName, nullptr, Enforce::NONE); // fall through. } |