forked from davidshepherd7/qtwebdriver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wd.gyp
86 lines (71 loc) · 2.13 KB
/
wd.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
{
'includes': [
'wd.gypi',
'wd_common.gypi',
],
# TODO: move generate_wdversion.py here from build.sh
'targets': [
{
'target_name': 'All',
'type': 'none',
'dependencies': [
'base.gyp:chromium_base',
'wd_core.gyp:WebDriver_core',
],
'conditions': [
['<(WD_CONFIG_QWIDGET_BASE) == 1', {
'dependencies': ['wd_ext_qt.gyp:WebDriver_extension_qt_base'],
'conditions': [
[ 'OS == "linux"', {
'dependencies': ['wd_ext_qt.gyp:WebDriver_extension_qt_base_shared'],
} ],
],
} ],
['<(WD_CONFIG_QUICK) == 1', {
'dependencies': ['wd_ext_qt.gyp:WebDriver_extension_qt_quick'],
'conditions': [
[ 'OS == "linux"', {
'dependencies': ['wd_ext_qt.gyp:WebDriver_extension_qt_quick_shared'],
} ],
],
} ],
['<(WD_CONFIG_WEBKIT) == 1', {
'dependencies': ['wd_ext_qt.gyp:WebDriver_extension_qt_web'],
'conditions': [
[ 'OS == "linux"', {
'dependencies': ['wd_ext_qt.gyp:WebDriver_extension_qt_web_shared'],
} ],
],
} ],
[ 'OS == "linux"', {
'dependencies': [
'base.gyp:chromium_base_shared',
'wd_core.gyp:WebDriver_core_shared',
],
} ],
['platform == "desktop"', {
'dependencies': [
'wd_test.gyp:test_WD_hybrid_noWebkit',
],
'conditions': [
['<(WD_CONFIG_WEBKIT) == 1', {
'dependencies': ['wd_test.gyp:test_WD_hybrid']
} ],
]
} ],
['platform == "desktop" and OS == "linux"', {
'dependencies': [
'wd_test.gyp:test_WD_hybrid_noWebkit_with_shared_libs',
],
} ],
[ 'OS == "android"', {
'dependencies': [
'wd_ext_qt.gyp:WebDriver_extension_qt_base',
'wd_test.gyp:test_android_WD_Widgets',
'wd_test.gyp:test_android_WD_QML',
],
} ],
], # conditions
}, # target_name: All
],
}