Skip to content

Commit 1694635

Browse files
committed
added test target withs shared libs linkage
1 parent ff49d89 commit 1694635

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

base.gyp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@
9090
'src/base/utf_string_conversions.cc',
9191
'src/base/utf_string_conversion_utils.cc',
9292
'src/base/values.cc',
93+
'src/net/base/file_stream.cc',
94+
'src/net/base/file_stream_metrics.cc',
95+
'src/net/base/file_stream_net_log_parameters.cc',
96+
'src/net/base/io_buffer.cc',
97+
'src/net/base/net_errors.cc',
98+
'src/net/base/net_log.cc',
9399
'src/third_party/modp_b64/modp_b64.cc'
94100
],
95101

wd.gyp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
'dependencies': [
2626
'wd_test.gyp:test_WD_hybrid',
2727
'wd_test.gyp:test_WD_hybrid_noWebkit',
28+
'wd_test.gyp:test_WD_hybrid_noWebkit_with_shared_libs',
2829
],
2930
} ],
3031
],

wd_test.gyp

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,31 @@
268268
} ],
269269
],
270270

271+
} , {
272+
'target_name': 'test_WD_hybrid_noWebkit_with_shared_libs',
273+
'type': 'executable',
274+
275+
'product_name': 'WebDriver_noWebkit_sharedLibs',
276+
277+
'dependencies': [
278+
'base.gyp:chromium_base_shared',
279+
'wd_core.gyp:WebDriver_core_shared',
280+
'wd_ext_qt.gyp:WebDriver_extension_qt_base_shared',
281+
'test_widgets',
282+
],
283+
284+
'sources': [
285+
'src/Test/main.cc',
286+
'src/Test/shutdown_command.cc',
287+
],
288+
289+
'conditions': [
290+
[ '<(WD_BUILD_MONGOOSE) == 0', {
291+
'sources': [
292+
'src/third_party/mongoose/mongoose.c',
293+
],
294+
} ],
295+
],
271296
}
272297
],
273298
}

0 commit comments

Comments
 (0)