1 | // Copyright 2013 The Flutter Authors. All rights reserved. |
---|---|
2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. |
4 | |
5 | #include "benchmarking.h" |
6 | |
7 | #include "flutter/fml/backtrace.h" |
8 | #include "flutter/fml/icu_util.h" |
9 | |
10 | namespace benchmarking { |
11 | |
12 | int Main(int argc, char** argv) { |
13 | fml::InstallCrashHandler(); |
14 | benchmark::Initialize(&argc, argv); |
15 | fml::icu::InitializeICU("icudtl.dat"); |
16 | ::benchmark::RunSpecifiedBenchmarks(); |
17 | return 0; |
18 | } |
19 | |
20 | } // namespace benchmarking |
21 | |
22 | int main(int argc, char** argv) { |
23 | return benchmarking::Main(argc, argv); |
24 | } |
25 |