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:test_support_base', | 14 '../../base/base.gyp:test_support_base', |
15 '../../net/net.gyp:net_test_support', | 15 '../../net/net.gyp:net_test_support', |
16 '../../testing/gmock.gyp:gmock', | 16 '../../testing/gmock.gyp:gmock', |
17 '../../testing/gtest.gyp:gtest', | 17 '../../testing/gtest.gyp:gtest', |
18 '../../third_party/ocmock/ocmock.gyp:ocmock', | 18 '../../third_party/ocmock/ocmock.gyp:ocmock', |
19 '../ios_tests.gyp:test_support_ios', | 19 '../ios_tests.gyp:test_support_ios', |
20 '../web/ios_web.gyp:ios_web', | 20 '../web/ios_web.gyp:ios_web', |
21 '../web/ios_web.gyp:test_support_ios_web', | 21 '../web/ios_web.gyp:test_support_ios_web', |
22 'ios_chrome.gyp:ios_chrome_browser', | 22 'ios_chrome.gyp:ios_chrome_browser', |
23 'ios_chrome.gyp:ios_chrome_common', | |
24 'ios_chrome_test_support', | 23 'ios_chrome_test_support', |
25 ], | 24 ], |
26 'sources': [ | 25 'sources': [ |
27 'browser/net/image_fetcher_unittest.mm', | 26 'browser/net/image_fetcher_unittest.mm', |
28 'browser/net/metrics_network_client_unittest.mm', | 27 'browser/net/metrics_network_client_unittest.mm', |
29 'browser/net/retryable_url_fetcher_unittest.mm', | 28 'browser/net/retryable_url_fetcher_unittest.mm', |
30 'browser/snapshots/snapshot_cache_unittest.mm', | 29 'browser/snapshots/snapshot_cache_unittest.mm', |
31 'browser/snapshots/snapshots_util_unittest.mm', | 30 'browser/snapshots/snapshots_util_unittest.mm', |
32 'browser/translate/translate_service_ios_unittest.cc', | 31 'browser/translate/translate_service_ios_unittest.cc', |
33 'browser/ui/commands/set_up_for_testing_command_unittest.mm', | 32 'browser/ui/commands/set_up_for_testing_command_unittest.mm', |
34 'browser/ui/ui_util_unittest.mm', | 33 'browser/ui/ui_util_unittest.mm', |
35 'browser/ui/uikit_ui_util_unittest.mm', | 34 'browser/ui/uikit_ui_util_unittest.mm', |
36 'common/string_util_unittest.mm', | |
37 ], | 35 ], |
38 }, | 36 }, |
39 { | 37 { |
40 'target_name': 'ios_chrome_test_support', | 38 'target_name': 'ios_chrome_test_support', |
41 'type': 'static_library', | 39 'type': 'static_library', |
42 'dependencies': [ | 40 'dependencies': [ |
43 '../../base/base.gyp:base', | 41 '../../base/base.gyp:base', |
44 '../../testing/gmock.gyp:gmock', | 42 '../../testing/gmock.gyp:gmock', |
45 '../../testing/gtest.gyp:gtest', | 43 '../../testing/gtest.gyp:gtest', |
46 '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser', | 44 '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser', |
47 'ios_chrome.gyp:ios_chrome_browser', | 45 'ios_chrome.gyp:ios_chrome_browser', |
48 ], | 46 ], |
49 'sources': [ | 47 'sources': [ |
50 'browser/net/mock_image_fetcher.h', | 48 'browser/net/mock_image_fetcher.h', |
51 'browser/net/mock_image_fetcher.mm', | 49 'browser/net/mock_image_fetcher.mm', |
52 'test/ios_chrome_unit_test_suite.cc', | 50 'test/ios_chrome_unit_test_suite.cc', |
53 'test/ios_chrome_unit_test_suite.h', | 51 'test/ios_chrome_unit_test_suite.h', |
54 'test/run_all_unittests.cc', | 52 'test/run_all_unittests.cc', |
55 'test/testing_application_context.cc', | 53 'test/testing_application_context.cc', |
56 'test/testing_application_context.h', | 54 'test/testing_application_context.h', |
57 ], | 55 ], |
58 }, | 56 }, |
59 ], | 57 ], |
60 } | 58 } |
OLD | NEW |