aboutsummaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-07-11 17:20:09 -0700
committerColin Cross <ccross@android.com>2016-07-11 17:20:09 -0700
commit624b8ed0b3c428ecc538641ec98e6989892ad742 (patch)
treeb9e856b6aa92274b5c6ae1354ccb68af3ec9c7dd /cc
parentb5bc4b412a65b88ecd92266173685277ec89ed9e (diff)
downloadbuild_soong-624b8ed0b3c428ecc538641ec98e6989892ad742.tar.gz
build_soong-624b8ed0b3c428ecc538641ec98e6989892ad742.tar.bz2
build_soong-624b8ed0b3c428ecc538641ec98e6989892ad742.zip
Fix install path of benchmarks
Benchmarks should go in /data/nativetest/<module> like tests. Change-Id: Ib72ee699334da6a6d27813822e1f86f2863227b3
Diffstat (limited to 'cc')
-rw-r--r--cc/cc.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/cc/cc.go b/cc/cc.go
index 64ac50f2..f41984f2 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -2254,10 +2254,12 @@ func NewBenchmark(hod android.HostOrDeviceSupported) *Module {
module := newModule(hod, android.MultilibFirst)
module.compiler = &baseCompiler{}
module.linker = &benchmarkLinker{}
- module.installer = &baseInstaller{
- dir: "nativetest",
- dir64: "nativetest64",
- data: true,
+ module.installer = &testInstaller{
+ baseInstaller: baseInstaller{
+ dir: "nativetest",
+ dir64: "nativetest64",
+ data: true,
+ },
}
return module
}