diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-11-15 01:09:27 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-11-15 01:09:27 +0000 |
commit | 61d5f9a7c74004c2ad38fab7addb304c126b3353 (patch) | |
tree | 7dad1ddcf1ced0ff1337e8bc71de817dfd047572 | |
parent | 5857f7c1a9b4361fb7c7d5d94e646d2b4b691faa (diff) | |
parent | 5f45e81f84caa07f0d0ae2baa4181a2a88303279 (diff) | |
download | soong-61d5f9a7c74004c2ad38fab7addb304c126b3353.tar.gz |
Merge "Enable benchmarks on darwin"android-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcs
-rw-r--r-- | cc/test.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cc/test.go b/cc/test.go index 96049db8d..f7180b561 100644 --- a/cc/test.go +++ b/cc/test.go @@ -16,7 +16,6 @@ package cc import ( "path/filepath" - "runtime" "strings" "android/soong/android" @@ -377,16 +376,6 @@ func (benchmark *benchmarkDecorator) install(ctx ModuleContext, file android.Pat } func NewBenchmark(hod android.HostOrDeviceSupported) *Module { - // Benchmarks aren't supported on Darwin - if runtime.GOOS == "darwin" { - switch hod { - case android.HostAndDeviceSupported: - hod = android.DeviceSupported - case android.HostSupported: - hod = android.NeitherHostNorDeviceSupported - } - } - module, binary := NewBinary(hod) module.multilib = android.MultilibBoth binary.baseInstaller = NewBaseInstaller("benchmarktest", "benchmarktest64", InstallInData) |