Supervised user import: Listen for profile creation/deletion
[chromium-blink-merge.git] / ios / chrome / ios_chrome_tests.gyp
blobeb6a30b67c1bdaa2d214ec68319034ae12e21221
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
3 # found in the LICENSE file.
5   'variables': {
6     'chromium_code': 1,
7   },
8   'targets': [
9     {
10       'target_name': 'ios_chrome_unittests',
11       'type': '<(gtest_target_type)',
12       'dependencies': [
13         '../../base/base.gyp:base',
14         '../../base/base.gyp:test_support_base',
15         '../../net/net.gyp:net_test_support',
16         '../../testing/gmock.gyp:gmock',
17         '../../testing/gtest.gyp:gtest',
18         '../../third_party/ocmock/ocmock.gyp:ocmock',
19         '../ios_tests.gyp:test_support_ios',
20         '../web/ios_web.gyp:ios_web',
21         '../web/ios_web.gyp:test_support_ios_web',
22         'ios_chrome.gyp:ios_chrome_app',
23         'ios_chrome.gyp:ios_chrome_browser',
24         'ios_chrome.gyp:ios_chrome_common',
25         'ios_chrome_test_support',
26       ],
27       'sources': [
28         'app/safe_mode_util_unittest.cc',
29         'browser/experimental_flags_unittest.mm',
30         'browser/geolocation/CLLocation+XGeoHeaderTest.mm',
31         'browser/geolocation/location_manager_unittest.mm',
32         'browser/memory/memory_wedge_unittest.cc',
33         'browser/net/image_fetcher_unittest.mm',
34         'browser/net/metrics_network_client_unittest.mm',
35         'browser/net/retryable_url_fetcher_unittest.mm',
36         'browser/snapshots/snapshot_cache_unittest.mm',
37         'browser/snapshots/snapshots_util_unittest.mm',
38         'browser/translate/translate_service_ios_unittest.cc',
39         'browser/ui/commands/set_up_for_testing_command_unittest.mm',
40         'browser/ui/ui_util_unittest.mm',
41         'browser/ui/uikit_ui_util_unittest.mm',
42         'common/string_util_unittest.mm',
43       ],
44     },
45     {
46       'target_name': 'ios_chrome_test_support',
47       'type': 'static_library',
48       'dependencies': [
49         '../../base/base.gyp:base',
50         '../../testing/gmock.gyp:gmock',
51         '../../testing/gtest.gyp:gtest',
52         '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser',
53         'ios_chrome.gyp:ios_chrome_browser',
54       ],
55       'sources': [
56         'browser/geolocation/location_manager+Testing.h',
57         'browser/geolocation/test_location_manager.h',
58         'browser/geolocation/test_location_manager.mm',
59         'browser/net/mock_image_fetcher.h',
60         'browser/net/mock_image_fetcher.mm',
61         'test/ios_chrome_unit_test_suite.cc',
62         'test/ios_chrome_unit_test_suite.h',
63         'test/run_all_unittests.cc',
64         'test/testing_application_context.cc',
65         'test/testing_application_context.h',
66       ],
67     },
68   ],