Add dependency for sysprop

The dependency is added because the module that uses the sysprop library
needs generated code before it is built.

Test: m -j
Change-Id: I2858fc6fa6f2fe16afa2f4a7ae62746ba0f67e5c
This commit is contained in:
Sundong Ahn
2018-12-19 14:39:29 +09:00
parent 8cc51b5620
commit 5b73f31c80

View File

@@ -807,6 +807,7 @@ func (library *libraryDecorator) link(ctx ModuleContext,
"-I" + android.PathForModuleGen(ctx, "sysprop", "include").String(),
}
library.reexportFlags(flags)
library.reexportDeps(library.baseCompiler.pathDeps)
library.reuseExportedFlags = append(library.reuseExportedFlags, flags...)
}