aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-03-25 18:09:05 -0700
committerColin Cross <ccross@android.com>2016-03-29 17:14:54 -0700
commit27a0040569ee789dfedb06caa515f8c16bb67440 (patch)
treea20eea96282deb94c7ebe0c72a7c11ea3c297ffe
parentd27a5c8fb9ac49763e363a93cb8f3cdd0388700f (diff)
downloadbuild_soong-27a0040569ee789dfedb06caa515f8c16bb67440.tar.gz
build_soong-27a0040569ee789dfedb06caa515f8c16bb67440.tar.bz2
build_soong-27a0040569ee789dfedb06caa515f8c16bb67440.zip
Revert "Remove useless LOCAL_ACP_UNAVAILABLE" DO NOT MERGE ANYWHERE
This reverts commit f778e12c57b9d13a65930eb656da8e456fc05ad5. LOCAL_ACP_UNAVAILABLE is still necessary in nyc-dev. Change-Id: I25ce63162cb30cb1b5d6173eef0f6b99298162fe
-rw-r--r--common/androidmk.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/androidmk.go b/common/androidmk.go
index a16a652d..77a98cb1 100644
--- a/common/androidmk.go
+++ b/common/androidmk.go
@@ -192,6 +192,9 @@ func translateAndroidMkModule(ctx blueprint.SingletonContext, w io.Writer, mod b
fmt.Fprintln(w, "LOCAL_MODULE_HOST_CROSS_ARCH :=", archStr)
} else {
fmt.Fprintln(w, "LOCAL_MODULE_HOST_ARCH :=", archStr)
+
+ // TODO: this isn't true for every module, only dependencies of ACP
+ fmt.Fprintln(w, "LOCAL_ACP_UNAVAILABLE := true")
}
fmt.Fprintln(w, "LOCAL_MODULE_HOST_OS :=", amod.HostType().String())
fmt.Fprintln(w, "LOCAL_IS_HOST_MODULE := true")