Revert "adb: make benchmarks build on the host."
This reverts commit 80dd70d285
.
Breaks the darwin build.
Change-Id: If95266c6fc027cf2a706f3c83dce7e50b762b8aa
This commit is contained in:
parent
7d3f006666
commit
1289e1ec65
2 changed files with 0 additions and 6 deletions
|
@ -213,7 +213,6 @@ cc_test_host {
|
|||
cc_benchmark {
|
||||
name: "adb_benchmark",
|
||||
defaults: ["adb_defaults"],
|
||||
host_supported: true,
|
||||
|
||||
srcs: ["transport_benchmark.cpp"],
|
||||
target: {
|
||||
|
@ -227,9 +226,6 @@ cc_benchmark {
|
|||
"libadb_host",
|
||||
],
|
||||
},
|
||||
darwin: {
|
||||
enabled: false,
|
||||
}
|
||||
},
|
||||
|
||||
static_libs: [
|
||||
|
|
|
@ -183,10 +183,8 @@ ADB_CONNECTION_BENCHMARK(BM_Connection_Echo, ThreadPolicy::SameThread);
|
|||
ADB_CONNECTION_BENCHMARK(BM_Connection_Echo, ThreadPolicy::MainThread);
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
#if defined(__BIONIC__)
|
||||
// Set M_DECAY_TIME so that our allocations aren't immediately purged on free.
|
||||
mallopt(M_DECAY_TIME, 1);
|
||||
#endif
|
||||
|
||||
android::base::SetMinimumLogSeverity(android::base::WARNING);
|
||||
adb_trace_init(argv);
|
||||
|
|
Loading…
Reference in a new issue