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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 }, | 7 }, |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'ios_chrome_unittests', | 10 'target_name': 'ios_chrome_unittests', |
11 'type': '<(gtest_target_type)', | 11 'type': '<(gtest_target_type)', |
12 'dependencies': [ | 12 'dependencies': [ |
13 '../../base/base.gyp:base', | 13 '../../base/base.gyp:base', |
14 '../../base/base.gyp:run_all_unittests', | |
15 '../../base/base.gyp:test_support_base', | 14 '../../base/base.gyp:test_support_base', |
16 '../../net/net.gyp:net_test_support', | 15 '../../net/net.gyp:net_test_support', |
17 '../../testing/gmock.gyp:gmock', | 16 '../../testing/gmock.gyp:gmock', |
18 '../../testing/gtest.gyp:gtest', | 17 '../../testing/gtest.gyp:gtest', |
19 '../../third_party/ocmock/ocmock.gyp:ocmock', | 18 '../../third_party/ocmock/ocmock.gyp:ocmock', |
20 '../ios_tests.gyp:test_support_ios', | 19 '../ios_tests.gyp:test_support_ios', |
21 '../web/ios_web.gyp:ios_web', | 20 '../web/ios_web.gyp:ios_web', |
22 '../web/ios_web.gyp:test_support_ios_web', | 21 '../web/ios_web.gyp:test_support_ios_web', |
23 'ios_chrome.gyp:ios_chrome_browser', | 22 'ios_chrome.gyp:ios_chrome_browser', |
| 23 'ios_chrome_test_support', |
24 ], | 24 ], |
25 'sources': [ | 25 'sources': [ |
26 'browser/net/image_fetcher_unittest.mm', | 26 'browser/net/image_fetcher_unittest.mm', |
27 'browser/translate/translate_service_ios_unittest.cc', | 27 'browser/translate/translate_service_ios_unittest.cc', |
28 'browser/ui/snapshots_util_unittest.mm', | 28 'browser/ui/snapshots_util_unittest.mm', |
29 'browser/ui/ui_util_unittest.mm', | 29 'browser/ui/ui_util_unittest.mm', |
30 'browser/ui/uikit_ui_util_unittest.mm', | 30 'browser/ui/uikit_ui_util_unittest.mm', |
31 ], | 31 ], |
32 }, | 32 }, |
33 { | 33 { |
34 'target_name': 'ios_chrome_test_support', | 34 'target_name': 'ios_chrome_test_support', |
35 'type': 'static_library', | 35 'type': 'static_library', |
36 'dependencies': [ | 36 'dependencies': [ |
37 '../../base/base.gyp:base', | 37 '../../base/base.gyp:base', |
| 38 '../../testing/gtest.gyp:gtest', |
38 '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser', | 39 '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser', |
39 'ios_chrome.gyp:ios_chrome_browser', | 40 'ios_chrome.gyp:ios_chrome_browser', |
40 ], | 41 ], |
41 'sources': [ | 42 'sources': [ |
| 43 'test/ios_chrome_unit_test_suite.cc', |
| 44 'test/ios_chrome_unit_test_suite.h', |
| 45 'test/run_all_unittests.cc', |
42 'test/testing_application_context.cc', | 46 'test/testing_application_context.cc', |
43 'test/testing_application_context.h', | 47 'test/testing_application_context.h', |
44 ], | 48 ], |
45 }, | 49 }, |
46 ], | 50 ], |
47 } | 51 } |
OLD | NEW |