aboutsummaryrefslogtreecommitdiffstats
path: root/cc/installer.go
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-09-28 16:18:03 -0700
committerDan Willemsen <dwillemsen@google.com>2016-09-28 17:38:02 -0700
commit4aa75ca244ef7d0150978af626c0478fa784e93d (patch)
tree654bb95f64779a467729af32356c5678a8bb9ece /cc/installer.go
parent024c32e9870a2a7d7704967eeb7764686cd69aab (diff)
downloadbuild_soong-4aa75ca244ef7d0150978af626c0478fa784e93d.tar.gz
build_soong-4aa75ca244ef7d0150978af626c0478fa784e93d.tar.bz2
build_soong-4aa75ca244ef7d0150978af626c0478fa784e93d.zip
Expose HostToolPath on the cc module to fix genrule.tool
Bug: 31742855 Test: Use `tool` in a genrule, ensure it runs properly. Change-Id: Ib9ff35125edd66cdba8ede4f28aa6b753de0689b
Diffstat (limited to 'cc/installer.go')
-rw-r--r--cc/installer.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/installer.go b/cc/installer.go
index fa8fc321..8ce95410 100644
--- a/cc/installer.go
+++ b/cc/installer.go
@@ -80,3 +80,7 @@ func (installer *baseInstaller) install(ctx ModuleContext, file android.Path) {
func (installer *baseInstaller) inData() bool {
return installer.location == InstallInData
}
+
+func (installer *baseInstaller) hostToolPath() android.OptionalPath {
+ return android.OptionalPath{}
+}