From 5b73f31c8044e0380f88d1f9a2a688bb8efbf149 Mon Sep 17 00:00:00 2001 From: Sundong Ahn Date: Wed, 19 Dec 2018 14:39:29 +0900 Subject: [PATCH] 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 --- cc/library.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cc/library.go b/cc/library.go index 86cd5da96..40c1b4f41 100644 --- a/cc/library.go +++ b/cc/library.go @@ -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...) }