Mac: Fix SingleWebContentsDialogManagerCocoa:: GetHostView null pointer access
[chromium-blink-merge.git] / cloud_print / cloud_print.gyp
bloba67743850c4aebec063b2cb545ee7a2c1084cb82
1 # Copyright (c) 2012 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': 'cloud_print',
11       'type': 'none',
12       'dependencies': [
13         'gcp20/prototype/gcp20_device.gyp:*',
14         'service/service.gyp:*',
15       ],
16       'conditions': [
17         ['OS=="win"', {
18           'dependencies': [
19             'service/win/service.gyp:*',
20             'virtual_driver/win/install/virtual_driver_install.gyp:*',
21             'virtual_driver/win/virtual_driver.gyp:*',
22           ],
23         }],
24         ['OS=="win" and target_arch=="ia32"', {
25           'dependencies': [
26             'virtual_driver/win/virtual_driver64.gyp:*',
27           ],
28         }],
29       ],
30     },
31     {
32       'target_name': 'cloud_print_unittests',
33       'type': 'executable',
34       'sources': [
35         'service/service_state_unittest.cc',
36       ],
37       'dependencies': [
38         '<(DEPTH)/base/base.gyp:base',
39         '<(DEPTH)/base/base.gyp:run_all_unittests',
40         '<(DEPTH)/base/base.gyp:test_support_base',
41         '<(DEPTH)/testing/gmock.gyp:gmock',
42         '<(DEPTH)/testing/gtest.gyp:gtest',
43         'service/service.gyp:cloud_print_service_lib',
44       ],
45       'conditions': [
46         ['OS=="win"', {
47           'sources': [
48             'service/win/service_ipc_unittest.cc',
49             'virtual_driver/win/port_monitor/port_monitor_unittest.cc',
50           ],
51           'dependencies': [
52             'virtual_driver/win/virtual_driver.gyp:gcp_portmon_lib',
53           ],
54         }],
55         # See http://crbug.com/162998#c4 for why this is needed.
56         ['OS=="linux" and use_allocator!="none"', {
57           'dependencies': [
58             '../base/allocator/allocator.gyp:allocator',
59           ],
60         }],
61       ],
62       'msvs_settings': {
63         'VCLinkerTool': {
64           'AdditionalDependencies': [
65               'secur32.lib',
66           ],
67         },
68       },
69     },
70   ],