OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include <math.h> | 11 #include <math.h> |
12 #include <stdio.h> | 12 #include <stdio.h> |
13 #include <string.h> | 13 #include <string.h> |
14 #ifdef WEBRTC_ANDROID | 14 #ifdef WEBRTC_ANDROID |
15 #include <sys/stat.h> | 15 #include <sys/stat.h> |
16 #endif | 16 #endif |
17 | 17 |
18 #include <algorithm> | 18 #include <algorithm> |
19 | 19 |
20 #include "webrtc/base/scoped_ptr.h" | 20 #include "webrtc/base/scoped_ptr.h" |
21 #include "webrtc/common.h" | 21 #include "webrtc/common.h" |
22 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 22 #include "webrtc/modules/audio_processing/include/audio_processing.h" |
23 #include "webrtc/modules/audio_processing/test/protobuf_utils.h" | 23 #include "webrtc/modules/audio_processing/test/protobuf_utils.h" |
24 #include "webrtc/modules/audio_processing/test/test_utils.h" | 24 #include "webrtc/modules/audio_processing/test/test_utils.h" |
25 #include "webrtc/modules/interface/module_common_types.h" | 25 #include "webrtc/modules/include/module_common_types.h" |
26 #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" | 26 #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" |
27 #include "webrtc/system_wrappers/include/tick_util.h" | 27 #include "webrtc/system_wrappers/include/tick_util.h" |
28 #include "webrtc/test/testsupport/fileutils.h" | 28 #include "webrtc/test/testsupport/fileutils.h" |
29 #include "webrtc/test/testsupport/perf_test.h" | 29 #include "webrtc/test/testsupport/perf_test.h" |
30 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD | 30 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
31 #include "gtest/gtest.h" | 31 #include "gtest/gtest.h" |
32 #include "external/webrtc/webrtc/modules/audio_processing/debug.pb.h" | 32 #include "external/webrtc/webrtc/modules/audio_processing/debug.pb.h" |
33 #else | 33 #else |
34 #include "testing/gtest/include/gtest/gtest.h" | 34 #include "testing/gtest/include/gtest/gtest.h" |
35 #include "webrtc/audio_processing/debug.pb.h" | 35 #include "webrtc/audio_processing/debug.pb.h" |
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1139 } // namespace | 1139 } // namespace |
1140 } // namespace webrtc | 1140 } // namespace webrtc |
1141 | 1141 |
1142 int main(int argc, char* argv[]) { | 1142 int main(int argc, char* argv[]) { |
1143 webrtc::void_main(argc, argv); | 1143 webrtc::void_main(argc, argv); |
1144 | 1144 |
1145 // Optional, but removes memory leak noise from Valgrind. | 1145 // Optional, but removes memory leak noise from Valgrind. |
1146 google::protobuf::ShutdownProtobufLibrary(); | 1146 google::protobuf::ShutdownProtobufLibrary(); |
1147 return 0; | 1147 return 0; |
1148 } | 1148 } |
OLD | NEW |