forked from cisco-open-source/qtwebdriver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wd_ext_qt.gyp
198 lines (169 loc) · 6.57 KB
/
wd_ext_qt.gyp
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
{
'includes': [
'wd.gypi',
'wd_common.gypi',
],
'target_defaults': {
'includes': [
'wd_build_options.gypi',
'wd_qt_tools.gypi',
],
# TODO: review include_dirs
'include_dirs': [
'inc/',
'src/',
'<(QT_INC_PATH)',
'<(INTERMEDIATE_DIR)',
],
},
'targets': [
{
'target_name': 'WebDriver_extension_qt_base',
'type': 'static_library',
'standalone_static_library': 1,
'sources': [
'src/webdriver/extension_qt/q_content_type_resolver.cc',
'src/webdriver/extension_qt/q_view_runner.cc',
'src/webdriver/extension_qt/q_proxy_parser.cc',
'src/webdriver/extension_qt/q_key_converter.cc',
'src/webdriver/extension_qt/q_session_lifecycle_actions.cc',
'src/webdriver/extension_qt/widget_view_util.cc',
'src/webdriver/extension_qt/common_util.cc',
'src/webdriver/extension_qt/widget_view_handle.cc',
'src/webdriver/extension_qt/widget_element_handle.cc',
'src/webdriver/extension_qt/q_view_executor.cc',
'src/webdriver/extension_qt/widget_view_creator.cc',
'src/webdriver/extension_qt/widget_view_executor.cc',
'src/webdriver/extension_qt/widget_view_enumerator.cc',
'src/webdriver/extension_qt/widget_view_visualizer.cc',
'src/webdriver/extension_qt/shutdown_command.cc',
'inc/extension_qt/q_view_runner.h',
'<(INTERMEDIATE_DIR)/moc_q_view_runner.cc',
'src/webdriver/extension_qt/q_event_filter.cc',
'src/webdriver/extension_qt/q_event_filter.h',
'<(INTERMEDIATE_DIR)/moc_q_event_filter.cc',
'inc/extension_qt/vncclient.h',
'src/vnc/vncclient.cc',
'<(INTERMEDIATE_DIR)/moc_vncclient.cc',
'src/webdriver/extension_qt/uinput_manager.cc',
'src/third_party/des/d3des.c',
'src/vnc/vncserverparameters.cc',
'src/webdriver/extension_qt/vnc_event_dispatcher.cc',
'src/webdriver/extension_qt/wd_event_dispatcher.cc',
'src/webdriver/extension_qt/uinput_event_dispatcher.cc',
],
'conditions': [
['<(QT5) == 0', {
'dependencies': [
'src/third_party/mimetypes-qt4/mimetypes-qt4.gyp:mimetypes-qt4',
],
} ]
], # conditions
}, {
'target_name': 'WebDriver_extension_qt_web',
'type': 'static_library',
'standalone_static_library': 1,
'sources': [
'src/webdriver/extension_qt/web_view_creator.cc',
'src/webdriver/extension_qt/web_view_executor.cc',
'src/webdriver/extension_qt/web_view_enumerator.cc',
'src/webdriver/extension_qt/web_view_visualizer.h',
'src/webdriver/extension_qt/web_view_visualizer.cc',
'src/webdriver/extension_qt/qwebviewext.cc',
'src/webdriver/extension_qt/web_view_util.cc',
'src/webdriver/extension_qt/web_view_util.h',
'src/webdriver/extension_qt/qwebkit_proxy.cc',
'src/webdriver/extension_qt/qwebkit_proxy.h',
'inc/extension_qt/qnetwork_access_manager_tracer.h',
'src/webdriver/extension_qt/qnetwork_access_manager_tracer.cc',
'src/webdriver/extension_qt/graphics_web_view_handle.cc',
'src/webdriver/extension_qt/graphics_web_view_enumerator.cc',
'src/webdriver/extension_qt/graphics_web_view_executor.cc',
'inc/extension_qt/qwebviewext.h',
'<(INTERMEDIATE_DIR)/moc_web_view_visualizer.cc',
'<(INTERMEDIATE_DIR)/moc_qwebviewext.cc',
'<(INTERMEDIATE_DIR)/moc_qwebkit_proxy.cc',
'<(INTERMEDIATE_DIR)/moc_qnetwork_access_manager_tracer.cc',
'src/third_party/webdriver/atoms.cc',
],
} , {
'target_name': 'WebDriver_extension_qt_quick',
'type': 'static_library',
'standalone_static_library': 1,
'conditions': [
['<(QT5) == 1', {
'sources': [
'src/webdriver/extension_qt/qwindow_view_handle.cc',
'src/webdriver/extension_qt/qwindow_view_executor.cc',
'src/webdriver/extension_qt/quick2_view_creator.cc',
'src/webdriver/extension_qt/quick2_view_enumerator.cc',
'src/webdriver/extension_qt/quick2_view_executor.cc',
'src/webdriver/extension_qt/qml_view_util.cc',
'src/webdriver/extension_qt/qml_objname_util.h',
'src/webdriver/extension_qt/qml_objname_util.cc',
'<(INTERMEDIATE_DIR)/moc_qml_objname_util.cc',
],
} , {
'sources': [
'src/webdriver/extension_qt/qml_view_creator.cc',
'src/webdriver/extension_qt/qml_view_enumerator.cc',
'src/webdriver/extension_qt/qml_view_executor.cc',
'src/webdriver/extension_qt/qml_view_util.cc',
'src/webdriver/extension_qt/qml_objname_util.h',
'src/webdriver/extension_qt/qml_objname_util.cc',
'<(INTERMEDIATE_DIR)/moc_qml_objname_util.cc',
],
} ],
], # conditions
} , {
'target_name': 'WebDriver_extension_qt_quick_web',
'type': 'static_library',
'standalone_static_library': 1,
'conditions': [
['<(QT5) == 1', {
'sources': [
# TODO: Quick2 support
'src/webdriver/dummy.cc',
],
} , {
'sources': [
'src/webdriver/extension_qt/declarative_item_view_handle.cc',
'src/webdriver/extension_qt/qdeclarativewebview.cc',
'src/webdriver/extension_qt/qml_web_view_enumerator.cc',
'src/webdriver/extension_qt/qml_web_view_executor.cc',
'inc/extension_qt/qdeclarativewebview.h',
'<(INTERMEDIATE_DIR)/moc_qdeclarativewebview.cc',
],
} ],
], # conditions
} , {
'target_name': 'WebDriver_extension_qt_base_shared',
'type': 'shared_library',
'product_name': 'WebDriver_extension_qt_base',
'dependencies': [
'WebDriver_extension_qt_base',
],
} , {
'target_name': 'WebDriver_extension_qt_web_shared',
'type': 'shared_library',
'product_name': 'WebDriver_extension_qt_web',
'dependencies': [
'WebDriver_extension_qt_web',
],
} , {
'target_name': 'WebDriver_extension_qt_quick_shared',
'type': 'shared_library',
'product_name': 'WebDriver_extension_qt_quick',
'dependencies': [
'WebDriver_extension_qt_quick',
],
} , {
'target_name': 'WebDriver_extension_qt_quick_web_shared',
'type': 'shared_library',
'product_name': 'WebDriver_extension_qt_quick_web',
'dependencies': [
'WebDriver_extension_qt_quick_web',
],
}
],
}