OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/compiler_specific.h" | 6 #include "base/compiler_specific.h" |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 #include "base/test/launcher/unit_test_launcher.h" | 9 #include "base/test/launcher/unit_test_launcher.h" |
10 #include "base/test/test_suite.h" | 10 #include "base/test/test_suite.h" |
| 11 #include "build/build_config.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
12 #include "ui/base/resource/resource_bundle.h" | 13 #include "ui/base/resource/resource_bundle.h" |
13 #include "ui/base/ui_base_paths.h" | 14 #include "ui/base/ui_base_paths.h" |
14 | 15 |
15 #if defined(OS_ANDROID) | 16 #if defined(OS_ANDROID) |
16 #include "base/android/jni_android.h" | 17 #include "base/android/jni_android.h" |
17 #include "ui/gfx/android/gfx_jni_registrar.h" | 18 #include "ui/gfx/android/gfx_jni_registrar.h" |
18 #endif | 19 #endif |
19 | 20 |
20 #if defined(OS_MACOSX) && !defined(OS_IOS) | 21 #if defined(OS_MACOSX) && !defined(OS_IOS) |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 } // namespace | 94 } // namespace |
94 | 95 |
95 int main(int argc, char** argv) { | 96 int main(int argc, char** argv) { |
96 GfxTestSuite test_suite(argc, argv); | 97 GfxTestSuite test_suite(argc, argv); |
97 | 98 |
98 return base::LaunchUnitTests( | 99 return base::LaunchUnitTests( |
99 argc, | 100 argc, |
100 argv, | 101 argv, |
101 base::Bind(&GfxTestSuite::Run, base::Unretained(&test_suite))); | 102 base::Bind(&GfxTestSuite::Run, base::Unretained(&test_suite))); |
102 } | 103 } |
OLD | NEW |