da0e20ae8a2203f32aee1d0ea2b0a676d82a96cd
[platform/framework/web/crosswalk.git] / src / xwalk / xwalk_tests.gypi
1 {
2   'targets': [
3     {
4       'target_name': 'xwalk_all_tests',
5       'type': 'none',
6       'dependencies': [
7         'xwalk_browsertest',
8         'xwalk_unittest',
9         'extensions/extensions_tests.gyp:xwalk_extensions_browsertest',
10         'extensions/extensions_tests.gyp:xwalk_extensions_unittest',
11         'sysapps/sysapps_tests.gyp:xwalk_sysapps_browsertest',
12         'sysapps/sysapps_tests.gyp:xwalk_sysapps_unittest',
13       ],
14       'conditions': [
15         ['OS=="linux"', {
16           'dependencies': [
17             'dbus/xwalk_dbus.gyp:xwalk_dbus_unittests',
18           ],
19         }],
20       ],
21     },
22     {
23       'target_name': 'xwalk_unittest',
24       'type': 'executable',
25       'dependencies': [
26         '../base/base.gyp:base',
27         '../content/content.gyp:content_common',
28         '../content/content_shell_and_tests.gyp:test_support_content',
29         '../testing/gtest.gyp:gtest',
30         '../ui/base/ui_base.gyp:ui_base',
31         'test/base/base.gyp:xwalk_test_base',
32         'xwalk_application_lib',
33         'xwalk_runtime',
34       ],
35       'sources': [
36         'application/common/application_storage_impl_unittest.cc',
37         'application/common/package/package_unittest.cc',
38         'application/common/application_unittest.cc',
39         'application/common/application_file_util_unittest.cc',
40         'application/common/id_util_unittest.cc',
41         'application/common/manifest_handlers/csp_handler_unittest.cc',
42         'application/common/manifest_handlers/permissions_handler_unittest.cc',
43         'application/common/manifest_handlers/warp_handler_unittest.cc',
44         'application/common/manifest_handlers/widget_handler_unittest.cc',
45         'application/common/manifest_handler_unittest.cc',
46         'application/common/manifest_unittest.cc',
47         'runtime/common/xwalk_content_client_unittest.cc',
48         'runtime/common/xwalk_runtime_features_unittest.cc',
49       ],
50       'conditions': [
51         ['toolkit_views == 1', {
52           'sources': [
53             'runtime/browser/ui/top_view_layout_views_unittest.cc',
54           ],
55           'dependencies': [
56             '../skia/skia.gyp:skia',
57           ],
58         }],
59         ['tizen==1', {
60           'sources': [
61             'application/common/manifest_handlers/navigation_handler_unittest.cc',
62           ],
63         }],
64       ],
65     },
66     {
67       'target_name': 'xwalk_browsertest',
68       'type': 'executable',
69       'dependencies': [
70         '../base/base.gyp:base',
71         '../content/content.gyp:content_browser',
72         '../content/content.gyp:content_common',
73         '../content/content_shell_and_tests.gyp:test_support_content',
74         '../net/net.gyp:net',
75         '../skia/skia.gyp:skia',
76         '../testing/gmock.gyp:gmock',
77         '../testing/gtest.gyp:gtest',
78         '../third_party/libxml/libxml.gyp:libxml',
79         '../ui/base/ui_base.gyp:ui_base',
80         'test/base/base.gyp:xwalk_test_base',
81         'xwalk_application_lib',
82         'xwalk_resources',
83         'xwalk_runtime',
84       ],
85       'includes': [
86         '../build/filename_rules.gypi',
87       ],
88       'defines': [
89         'HAS_OUT_OF_PROC_TEST_RUNNER',
90       ],
91       'sources': [
92         'application/test/application_browsertest.cc',
93         'application/test/application_browsertest.h',
94         'application/test/application_multi_app_test.cc',
95         'application/test/application_testapi.cc',
96         'application/test/application_testapi.h',
97         'application/test/application_testapi_test.cc',
98         'experimental/native_file_system/native_file_system_api_browsertest.cc',
99         'runtime/browser/devtools/xwalk_devtools_browsertest.cc',
100         'runtime/browser/ui/taskbar_util_browsertest_win.cc',
101         'runtime/browser/xwalk_download_browsertest.cc',
102         'runtime/browser/xwalk_form_input_browsertest.cc',
103         'runtime/browser/xwalk_runtime_browsertest.cc',
104         'runtime/browser/xwalk_switches_browsertest.cc',
105       ],
106     }
107   ],
108 }