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', |
droger
2015/04/13 09:49:13
Add ios_chrome.gyp:ios_chrome_common here too.
Olivier
2015/04/13 16:02:05
Done.
| |
23 'ios_chrome_test_support', | 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/net/metrics_network_client_unittest.mm', | 27 'browser/net/metrics_network_client_unittest.mm', |
28 'browser/net/retryable_url_fetcher_unittest.mm', | 28 'browser/net/retryable_url_fetcher_unittest.mm', |
29 'browser/snapshots/snapshot_cache_unittest.mm', | 29 'browser/snapshots/snapshot_cache_unittest.mm', |
30 'browser/snapshots/snapshots_util_unittest.mm', | 30 'browser/snapshots/snapshots_util_unittest.mm', |
31 'browser/translate/translate_service_ios_unittest.cc', | 31 'browser/translate/translate_service_ios_unittest.cc', |
32 'browser/ui/commands/set_up_for_testing_command_unittest.mm', | 32 'browser/ui/commands/set_up_for_testing_command_unittest.mm', |
33 'browser/ui/ui_util_unittest.mm', | 33 'browser/ui/ui_util_unittest.mm', |
34 'browser/ui/uikit_ui_util_unittest.mm', | 34 'browser/ui/uikit_ui_util_unittest.mm', |
35 'common/string_util_unittest.mm', | |
35 ], | 36 ], |
36 }, | 37 }, |
37 { | 38 { |
38 'target_name': 'ios_chrome_test_support', | 39 'target_name': 'ios_chrome_test_support', |
39 'type': 'static_library', | 40 'type': 'static_library', |
40 'dependencies': [ | 41 'dependencies': [ |
41 '../../base/base.gyp:base', | 42 '../../base/base.gyp:base', |
42 '../../testing/gmock.gyp:gmock', | 43 '../../testing/gmock.gyp:gmock', |
43 '../../testing/gtest.gyp:gtest', | 44 '../../testing/gtest.gyp:gtest', |
44 '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser', | 45 '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser', |
45 'ios_chrome.gyp:ios_chrome_browser', | 46 'ios_chrome.gyp:ios_chrome_browser', |
46 ], | 47 ], |
47 'sources': [ | 48 'sources': [ |
48 'browser/net/mock_image_fetcher.h', | 49 'browser/net/mock_image_fetcher.h', |
49 'browser/net/mock_image_fetcher.mm', | 50 'browser/net/mock_image_fetcher.mm', |
50 'test/ios_chrome_unit_test_suite.cc', | 51 'test/ios_chrome_unit_test_suite.cc', |
51 'test/ios_chrome_unit_test_suite.h', | 52 'test/ios_chrome_unit_test_suite.h', |
52 'test/run_all_unittests.cc', | 53 'test/run_all_unittests.cc', |
53 'test/testing_application_context.cc', | 54 'test/testing_application_context.cc', |
54 'test/testing_application_context.h', | 55 'test/testing_application_context.h', |
55 ], | 56 ], |
56 }, | 57 }, |
57 ], | 58 ], |
58 } | 59 } |
OLD | NEW |