This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 652
/
xwalk_tests.gypi
104 lines (104 loc) · 3.79 KB
/
xwalk_tests.gypi
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
{
'targets': [
{
'target_name': 'xwalk_all_tests',
'type': 'none',
'dependencies': [
'xwalk_browsertest',
'xwalk_unittest',
'extensions/extensions_tests.gyp:xwalk_extensions_browsertest',
'extensions/extensions_tests.gyp:xwalk_extensions_unittest',
'sysapps/sysapps_tests.gyp:xwalk_sysapps_browsertest',
'sysapps/sysapps_tests.gyp:xwalk_sysapps_unittest',
],
'conditions': [
['OS=="win"', {
'dependencies': [
'extensions/extensions_tests.gyp:xwalk_dotnet_extensions_browsertest',
'extensions/extensions_tests.gyp:xwalk_dotnet_extensions_unittest',
],
}],
],
},
{
'target_name': 'xwalk_unittest',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'../content/content.gyp:content_common',
'../content/content_shell_and_tests.gyp:test_support_content',
'../testing/gtest.gyp:gtest',
'../ui/base/ui_base.gyp:ui_base',
'test/base/base.gyp:xwalk_test_base',
'xwalk_application_lib',
'xwalk_runtime',
],
'sources': [
'application/common/package/package_unittest.cc',
'application/common/application_unittest.cc',
'application/common/application_file_util_unittest.cc',
'application/common/id_util_unittest.cc',
'application/common/manifest_handlers/csp_handler_unittest.cc',
'application/common/manifest_handlers/permissions_handler_unittest.cc',
'application/common/manifest_handlers/unittest_util.cc',
'application/common/manifest_handlers/unittest_util.h',
'application/common/manifest_handlers/warp_handler_unittest.cc',
'application/common/manifest_handlers/widget_handler_unittest.cc',
'application/common/manifest_handler_unittest.cc',
'application/common/manifest_unittest.cc',
'runtime/common/xwalk_content_client_unittest.cc',
'runtime/common/xwalk_runtime_features_unittest.cc',
],
'conditions': [
['toolkit_views == 1', {
'sources': [
'runtime/browser/ui/top_view_layout_views_unittest.cc',
],
'dependencies': [
'../skia/skia.gyp:skia',
],
}],
],
},
{
'target_name': 'xwalk_browsertest',
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
'../content/content.gyp:content_browser',
'../content/content.gyp:content_common',
'../content/content_shell_and_tests.gyp:test_support_content',
'../net/net.gyp:net',
'../skia/skia.gyp:skia',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
'../third_party/libxml/libxml.gyp:libxml',
'../ui/base/ui_base.gyp:ui_base',
'test/base/base.gyp:xwalk_test_base',
'xwalk_application_lib',
'xwalk_resources',
'xwalk_runtime',
],
'includes': [
'../build/filename_rules.gypi',
],
'defines': [
'HAS_OUT_OF_PROC_TEST_RUNNER',
],
'sources': [
'application/test/application_browsertest.cc',
'application/test/application_browsertest.h',
'application/test/application_test.cc',
'application/test/application_testapi.cc',
'application/test/application_testapi.h',
'application/test/application_testapi_test.cc',
'experimental/native_file_system/native_file_system_api_browsertest.cc',
'runtime/browser/devtools/xwalk_devtools_browsertest.cc',
'runtime/browser/xwalk_download_browsertest.cc',
'runtime/browser/xwalk_form_input_browsertest.cc',
'runtime/browser/xwalk_runtime_browsertest.cc',
'runtime/browser/xwalk_switches_browsertest.cc',
],
}
],
}