Skip to content

Commit 5eca143

Browse files
committed
do not build dynamic libs for Win/Mac
1 parent 97d5c55 commit 5eca143

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

wd.gyp

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,38 @@
1111
'type': 'none',
1212
'dependencies': [
1313
'base.gyp:chromium_base',
14-
'base.gyp:chromium_base_shared',
1514
'wd_core.gyp:WebDriver_core',
16-
'wd_core.gyp:WebDriver_core_shared',
1715
'wd_ext_qt.gyp:WebDriver_extension_qt_base',
18-
'wd_ext_qt.gyp:WebDriver_extension_qt_base_shared',
1916
'wd_ext_qt.gyp:WebDriver_extension_qt_web',
20-
'wd_ext_qt.gyp:WebDriver_extension_qt_web_shared',
17+
# TODO: put quick1 only for qt4 not qt5
18+
#'wd_ext_qt.gyp:WebDriver_extension_qt_quick_1',
2119
],
2220

2321
'conditions': [
22+
23+
[ 'OS == "linux"', {
24+
'dependencies': [
25+
'base.gyp:chromium_base_shared',
26+
'wd_core.gyp:WebDriver_core_shared',
27+
'wd_ext_qt.gyp:WebDriver_extension_qt_base_shared',
28+
'wd_ext_qt.gyp:WebDriver_extension_qt_web_shared',
29+
],
30+
} ],
31+
2432
['platform == "desktop"', {
2533
'dependencies': [
2634
'wd_test.gyp:test_WD_hybrid',
2735
'wd_test.gyp:test_WD_hybrid_noWebkit',
36+
],
37+
} ],
38+
39+
['platform == "desktop" and OS == "linux"', {
40+
'dependencies': [
2841
'wd_test.gyp:test_WD_hybrid_noWebkit_with_shared_libs',
2942
],
3043
} ],
31-
],
44+
45+
], # conditions
3246

3347
}, # target_name: All
3448
],

0 commit comments

Comments
 (0)