1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'target_defaults': {
'variables': {
'chromium_code': 1,
},
'include_dirs': [
'../../..',
],
},
'targets': [
{
'target_name': 'cloud_print_service_lib',
'type': 'static_library',
'dependencies': [
'../../../base/base.gyp:base',
'../../../build/temp_gyp/googleurl.gyp:googleurl',
'../../../net/net.gyp:net',
],
'sources': [
'chrome_launcher.cc',
'chrome_launcher.h',
'service_state.cc',
'service_state.h',
'service_switches.cc',
'service_switches.h',
]
},
{
'target_name': 'cloud_print_service',
'type': 'executable',
'sources': [
'cloud_print_service.cc',
'cloud_print_service.h',
'cloud_print_service.rc',
'resource.h',
],
'dependencies': [
'cloud_print_service_lib',
],
'msvs_settings': {
'VCLinkerTool': {
'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE
'UACExecutionLevel': '2', # /level='requireAdministrator'
},
},
},
{
'target_name': 'cloud_print_service_unittests',
'type': 'executable',
'sources': [
'service_state_unittest.cc',
],
'dependencies': [
'../../../base/base.gyp:run_all_unittests',
'../../../base/base.gyp:base',
'../../../base/base.gyp:test_support_base',
'../../../testing/gmock.gyp:gmock',
'../../../testing/gtest.gyp:gtest',
'cloud_print_service_lib',
],
},
],
}
|