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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
# Copyright 2013 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,
'enable_wexit_time_destructors': 1,
},
'include_dirs': [
'<(DEPTH)',
# To allow including "version.h"
'<(SHARED_INTERMEDIATE_DIR)',
],
},
'targets': [
{
'target_name': 'gcp20_device_lib',
'type': 'static_library',
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'<(DEPTH)/google_apis/google_apis.gyp:google_apis',
'<(DEPTH)/jingle/jingle.gyp:notifier',
'<(DEPTH)/net/net.gyp:http_server',
'<(DEPTH)/net/net.gyp:net',
'<(DEPTH)/url/url.gyp:url_lib',
],
'sources': [
'cloud_print_response_parser.cc',
'cloud_print_response_parser.h',
'cloud_print_request.cc',
'cloud_print_request.h',
'cloud_print_requester.cc',
'cloud_print_requester.h',
'cloud_print_url_request_context_getter.cc',
'cloud_print_url_request_context_getter.h',
'cloud_print_xmpp_listener.cc',
'cloud_print_xmpp_listener.h',
'conio_posix.cc',
'conio_posix.h',
'command_line_reader.cc',
'command_line_reader.h',
'dns_packet_parser.cc',
'dns_packet_parser.h',
'dns_response_builder.cc',
'dns_response_builder.h',
'dns_sd_server.cc',
'dns_sd_server.h',
'print_job_handler.cc',
'print_job_handler.h',
'printer.cc',
'printer.h',
'privet_http_server.cc',
'privet_http_server.h',
'service_parameters.cc',
'service_parameters.h',
'special_io.h',
'x_privet_token.cc',
'x_privet_token.h',
],
},
{
'target_name': 'gcp20_device',
'type': 'executable',
'dependencies': [
'gcp20_device_lib',
],
'sources': [
'gcp20_device.cc',
],
'msvs_settings': {
'VCLinkerTool': {
'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE
'AdditionalDependencies': [
# TODO(maksymb): Check which of whis libs is needed.
'secur32.lib',
'httpapi.lib',
'Ws2_32.lib',
],
},
},
},
{
'target_name': 'gcp20_device_unittests',
'type': 'executable',
'sources': [
'x_privet_token_unittest.cc',
],
'dependencies': [
'gcp20_device_lib',
'<(DEPTH)/base/base.gyp:run_all_unittests',
'<(DEPTH)/base/base.gyp:test_support_base',
'<(DEPTH)/testing/gmock.gyp:gmock',
'<(DEPTH)/testing/gtest.gyp:gtest',
],
'msvs_settings': {
'VCLinkerTool': {
'SubSystem': '1', # Set /SUBSYSTEM:CONSOLE
'AdditionalDependencies': [
'secur32.lib',
],
},
},
},
],
}
|