Control mutator order
Register mutators inside lambdas that are called in a defined order to
correctly order mutators before and after the arch and deps mutators.
Test: build.ninja identical
Change-Id: Iefe2a3515aee8570e76a6e76925db4cda0e9e822
diff --git a/cc/ndk_headers.go b/cc/ndk_headers.go
index 5d70b89..ece83bb 100644
--- a/cc/ndk_headers.go
+++ b/cc/ndk_headers.go
@@ -56,6 +56,9 @@
installPaths []string
}
+func (m *headerModule) DepsMutator(ctx android.BottomUpMutatorContext) {
+}
+
func (m *headerModule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
srcFiles := ctx.ExpandSources(m.properties.Srcs, nil)
for _, header := range srcFiles {