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
diff --git a/cc/library.go b/cc/library.go
index 86cd5da..40c1b4f 100644
--- a/cc/library.go
+++ b/cc/library.go
@@ -807,6 +807,7 @@
"-I" + android.PathForModuleGen(ctx, "sysprop", "include").String(),
}
library.reexportFlags(flags)
+ library.reexportDeps(library.baseCompiler.pathDeps)
library.reuseExportedFlags = append(library.reuseExportedFlags, flags...)
}