diff options
| author | 2021-05-05 18:16:11 +0000 | |
|---|---|---|
| committer | 2021-05-05 18:19:11 +0000 | |
| commit | 3ae982a4afdea61f4ee05f662634784aff0e899b (patch) | |
| tree | 9a4751b6c29a7bccc41a7b1ad3ee4962c1644606 /libs/gui/BLASTBufferQueue.cpp | |
| parent | 67d502d84d93f760262540047704c43d722a0005 (diff) | |
binderRpcBenchmark: main return 0
This main definition was copied from BENCHMARK_MAIN:
    // Helper macro to create a main routine in a test that runs the benchmarks
    #define BENCHMARK_MAIN()                   \
      int main(int argc, char** argv) {        \
        ::benchmark::Initialize(&argc, argv);  \
        if (::benchmark::ReportUnrecognizedArguments(argc, argv)) return 1; \
        ::benchmark::RunSpecifiedBenchmarks(); \
      }                                        \
      int main(int, char**)
This was fixed upstream, but it is still not merged into the Android:
https://github.com/google/benchmark/commit/835951aa44c2f802b4d563d533eac34565848eb0
Bug: N/A
Test: binderRpcBenchmark returns success error code
Change-Id: Icd9f32c234500abd582f1cce7d0025e234943c17
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions