Extract code handling PrinterProviderAPI from PrintPreviewHandler
[chromium-blink-merge.git] / ios / chrome / ios_chrome_tests.gyp
blobce9adfaf02fedad05fcbaeb0a29ef2df002dd9fa
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_browser',
23         'ios_chrome_test_support',
24       ],
25       'sources': [
26         'browser/net/image_fetcher_unittest.mm',
27         'browser/translate/translate_service_ios_unittest.cc',
28         'browser/ui/snapshots_util_unittest.mm',
29         'browser/ui/ui_util_unittest.mm',
30         'browser/ui/uikit_ui_util_unittest.mm',
31       ],
32     },
33     {
34       'target_name': 'ios_chrome_test_support',
35       'type': 'static_library',
36       'dependencies': [
37         '../../base/base.gyp:base',
38         '../../testing/gtest.gyp:gtest',
39         '../provider/ios_provider_chrome.gyp:ios_provider_chrome_browser',
40         'ios_chrome.gyp:ios_chrome_browser',
41       ],
42       'sources': [
43         'test/ios_chrome_unit_test_suite.cc',
44         'test/ios_chrome_unit_test_suite.h',
45         'test/run_all_unittests.cc',
46         'test/testing_application_context.cc',
47         'test/testing_application_context.h',
48       ],
49     },
50   ],