Add yacc generated headers to the include path

Test: mmma -j system/tools/aidl
Change-Id: I444c7f2b004877e027f67e36e016b528511e1a32
This commit is contained in:
Dan Willemsen
2016-11-02 20:44:08 -07:00
parent 21ec49068f
commit e1a3ce3609
2 changed files with 10 additions and 5 deletions

View File

@@ -477,7 +477,7 @@ func (library *libraryDecorator) link(ctx ModuleContext,
library.reexportFlags(deps.ReexportedFlags)
library.reexportDeps(deps.ReexportedFlagsDeps)
if library.baseCompiler.hasProto() {
if library.baseCompiler.hasSrcExt(".proto") {
if library.Properties.Proto.Export_proto_headers {
library.reexportFlags([]string{
"-I" + protoSubDir(ctx).String(),