Remove friend classes from PasswordStore.
[chromium-blink-merge.git] / cloud_print / cloud_print.gyp
blobfeb8311c497a6b128ec0779f5339971cded4baef
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         'service/service.gyp:*',
14         'gcp20/prototype/gcp20_device.gyp:*',
15       ],
16       'conditions': [
17         ['OS=="win"', {
18           'dependencies': [
19             'virtual_driver/win/install/virtual_driver_install.gyp:*',
20             'virtual_driver/win/virtual_driver.gyp:*',
21           ],
22         }],
23         ['OS=="win" and target_arch=="ia32"', {
24           'dependencies': [
25             'virtual_driver/win/virtual_driver64.gyp:*',
26           ],
27         }],
28       ],
29     },
30     {
31       'target_name': 'cloud_print_unittests',
32       'type': 'executable',
33       'sources': [
34         'service/service_state_unittest.cc',
35       ],
36       'dependencies': [
37         '<(DEPTH)/base/base.gyp:base',
38         '<(DEPTH)/base/base.gyp:run_all_unittests',
39         '<(DEPTH)/base/base.gyp:test_support_base',
40         '<(DEPTH)/testing/gmock.gyp:gmock',
41         '<(DEPTH)/testing/gtest.gyp:gtest',
42         'service/service.gyp:cloud_print_service_lib',
43       ],
44       'conditions': [
45         ['OS=="win"', {
46           'sources': [
47             'service/win/service_ipc_unittest.cc',
48             'virtual_driver/win/port_monitor/port_monitor_unittest.cc',
49           ],
50           'dependencies': [
51             'virtual_driver/win/virtual_driver.gyp:gcp_portmon_lib',
52           ],
53         }],
54         # See http://crbug.com/162998#c4 for why this is needed.
55         # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
56         ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
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   ],