Revert "Support per-module MakeVars"
This reverts commit 2019658b86efa7c3ff1ad3853e408cafb32c2953.
Reason for revert: broke builds where makefiles were using M4 without depending upon it
Change-Id: I18304246e7a8a8f8c2620dd2c65ed77acd256be2
diff --git a/cc/gen.go b/cc/gen.go
index edae061..6f9036b 100644
--- a/cc/gen.go
+++ b/cc/gen.go
@@ -24,6 +24,8 @@
)
func init() {
+ pctx.SourcePathVariable("m4Cmd", "prebuilts/build-tools/${config.HostPrebuiltTag}/bin/m4")
+
pctx.HostBinToolVariable("aidlCmd", "aidl-cpp")
pctx.HostBinToolVariable("syspropCmd", "sysprop_cpp")
}