4
Programs/WebKit2APITests/InspectorTestServer \
5
Programs/WebKit2APITests/TestBackForwardList \
6
Programs/WebKit2APITests/TestContextMenu \
7
Programs/WebKit2APITests/TestCookieManager \
8
Programs/WebKit2APITests/TestDownloads \
9
Programs/WebKit2APITests/TestInspector \
10
Programs/WebKit2APITests/TestInspectorServer \
11
Programs/WebKit2APITests/TestLoaderClient \
12
Programs/WebKit2APITests/TestPrinting \
13
Programs/WebKit2APITests/TestResources \
14
Programs/WebKit2APITests/TestSSL \
15
Programs/WebKit2APITests/TestWebKitVersion \
16
Programs/WebKit2APITests/TestWebKitFaviconDatabase \
17
Programs/WebKit2APITests/TestWebKitFindController \
18
Programs/WebKit2APITests/TestWebKitPolicyClient \
19
Programs/WebKit2APITests/TestWebKitSettings \
20
Programs/WebKit2APITests/TestWebKitWebContext \
21
Programs/WebKit2APITests/TestWebKitWebView \
22
Programs/WebKit2APITests/TestWebViewEditor
24
noinst_PROGRAMS += $(TEST_PROGS)
27
TEST_PROGS += Programs/WebKit2APITests/TestWebKitAccessibility
29
noinst_PROGRAMS += Programs/WebKit2APITests/AccessibilityTestServer
32
webkit2_tests_cppflags = \
33
-DWEBKIT_EXEC_PATH=\"${shell pwd}/$(top_builddir)/Programs\" \
34
-DWEBKIT_SRC_DIR=\"${shell pwd}/${srcdir}\" \
35
-DWEBKIT_DERIVED_SRC_DIR=\"${shell pwd}/${top_builddir}/DerivedSources\" \
36
-DWEBKIT_TEST_PLUGIN_DIR=\"${shell pwd}/${top_builddir}/TestNetscapePlugin/.libs\" \
37
$(javascriptcore_cppflags) \
38
-I$(srcdir)/Source/JavaScriptCore \
40
-I$(srcdir)/Source/WebKit2 \
41
-I$(top_builddir)/DerivedSources/WebKit2/include \
42
-I$(top_builddir)/DerivedSources/WebKit2/webkit2gtk \
43
-I$(top_builddir)/DerivedSources/WebKit2/webkit2gtk/include \
44
-I$(srcdir)/Source/WebKit2/UIProcess/API/gtk \
50
webkit2_tests_ldadd = \
51
Libraries/libWebKit2APITestCore.la \
52
libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
53
libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
59
webkit2_tests_ldflags = \
63
Programs/resources/webkit2gtk-tests-resources.gresource: Source/WebKit2/UIProcess/API/gtk/tests/resources/webkit2gtk-tests.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/Source/WebKit2/UIProcess/API/gtk/tests/resources/webkit2gtk-tests.gresource.xml)
64
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) $<
66
DISTCLEANFILES += Programs/resources/webkit2gtk-tests-resources.gresource
67
noinst_DATA += Programs/resources/webkit2gtk-tests-resources.gresource
69
noinst_LTLIBRARIES += Libraries/libWebKit2APITestCore.la
70
Libraries_libWebKit2APITestCore_la_SOURCES = \
71
Source/WebKit2/UIProcess/API/gtk/tests/LoadTrackingTest.cpp \
72
Source/WebKit2/UIProcess/API/gtk/tests/LoadTrackingTest.h \
73
Source/WebKit2/UIProcess/API/gtk/tests/WebKitTestServer.cpp \
74
Source/WebKit2/UIProcess/API/gtk/tests/WebKitTestServer.h \
75
Source/WebKit2/UIProcess/API/gtk/tests/TestMain.cpp \
76
Source/WebKit2/UIProcess/API/gtk/tests/TestMain.h \
77
Source/WebKit2/UIProcess/API/gtk/tests/WebViewTest.cpp \
78
Source/WebKit2/UIProcess/API/gtk/tests/WebViewTest.h
79
Libraries_libWebKit2APITestCore_la_CPPFLAGS = $(webkit2_tests_cppflags)
82
Source/WebKit2/UIProcess/API/gtk/tests/resources/test-cert.pem \
83
Source/WebKit2/UIProcess/API/gtk/tests/resources/test-key.pem \
84
Source/WebKit2/UIProcess/API/gtk/tests/resources/webkit2gtk-tests.gresource.xml \
85
Source/WebKit2/UIProcess/API/gtk/tests/resources/link-title.js
87
Programs_WebKit2APITests_TestWebKitWebContext_SOURCES = \
88
Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitWebContext.cpp
89
Programs_WebKit2APITests_TestWebKitWebContext_CPPFLAGS = $(webkit2_tests_cppflags)
90
Programs_WebKit2APITests_TestWebKitWebContext_LDADD = $(webkit2_tests_ldadd)
91
Programs_WebKit2APITests_TestWebKitWebContext_LDFLAGS = $(webkit2_tests_ldflags)
93
Programs_WebKit2APITests_TestWebKitWebView_SOURCES = \
94
Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitWebView.cpp
95
Programs_WebKit2APITests_TestWebKitWebView_CPPFLAGS = $(webkit2_tests_cppflags)
96
Programs_WebKit2APITests_TestWebKitWebView_LDADD = $(webkit2_tests_ldadd)
97
Programs_WebKit2APITests_TestWebKitWebView_LDFLAGS = $(webkit2_tests_ldflags)
99
Programs_WebKit2APITests_TestLoaderClient_SOURCES = \
100
Source/WebKit2/UIProcess/API/gtk/tests/TestLoaderClient.cpp
101
Programs_WebKit2APITests_TestLoaderClient_CPPFLAGS = $(webkit2_tests_cppflags)
102
Programs_WebKit2APITests_TestLoaderClient_LDADD = $(webkit2_tests_ldadd)
103
Programs_WebKit2APITests_TestLoaderClient_LDFLAGS = $(webkit2_tests_ldflags)
105
Programs_WebKit2APITests_TestWebKitSettings_SOURCES = \
106
Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitSettings.cpp
107
Programs_WebKit2APITests_TestWebKitSettings_CPPFLAGS = $(webkit2_tests_cppflags)
108
Programs_WebKit2APITests_TestWebKitSettings_LDADD = $(webkit2_tests_ldadd)
109
Programs_WebKit2APITests_TestWebKitSettings_LDFLAGS = $(webkit2_tests_ldflags)
111
Programs_WebKit2APITests_InspectorTestServer_SOURCES = \
112
Source/WebKit2/UIProcess/API/gtk/tests/InspectorTestServer.cpp
113
Programs_WebKit2APITests_InspectorTestServer_CPPFLAGS = $(webkit2_tests_cppflags)
114
Programs_WebKit2APITests_InspectorTestServer_LDADD = $(webkit2_tests_ldadd)
115
Programs_WebKit2APITests_InspectorTestServer_LDFLAGS = $(webkit2_tests_ldflags)
117
Programs_WebKit2APITests_TestBackForwardList_SOURCES = \
118
Source/WebKit2/UIProcess/API/gtk/tests/TestBackForwardList.cpp
119
Programs_WebKit2APITests_TestBackForwardList_CPPFLAGS = $(webkit2_tests_cppflags)
120
Programs_WebKit2APITests_TestBackForwardList_LDADD = $(webkit2_tests_ldadd)
121
Programs_WebKit2APITests_TestBackForwardList_LDFLAGS = $(webkit2_tests_ldflags)
123
Programs_WebKit2APITests_TestWebKitPolicyClient_SOURCES = \
124
Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitPolicyClient.cpp
125
Programs_WebKit2APITests_TestWebKitPolicyClient_CPPFLAGS = $(webkit2_tests_cppflags)
126
Programs_WebKit2APITests_TestWebKitPolicyClient_LDADD = $(webkit2_tests_ldadd)
127
Programs_WebKit2APITests_TestWebKitPolicyClient_LDFLAGS = $(webkit2_tests_ldflags)
130
Programs_WebKit2APITests_AccessibilityTestServer_SOURCES = \
131
Source/WebKit2/UIProcess/API/gtk/tests/AccessibilityTestServer.cpp
132
Programs_WebKit2APITests_AccessibilityTestServer_CPPFLAGS = $(webkit2_tests_cppflags)
133
Programs_WebKit2APITests_AccessibilityTestServer_LDADD = $(webkit2_tests_ldadd)
134
Programs_WebKit2APITests_AccessibilityTestServer_LDFLAGS = $(webkit2_tests_ldflags)
136
Programs_WebKit2APITests_TestWebKitAccessibility_SOURCES = \
137
Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitAccessibility.cpp
138
Programs_WebKit2APITests_TestWebKitAccessibility_CPPFLAGS = $(webkit2_tests_cppflags) $(ATSPI2_CFLAGS)
139
Programs_WebKit2APITests_TestWebKitAccessibility_LDADD = $(webkit2_tests_ldadd) $(ATSPI2_LIBS)
140
Programs_WebKit2APITests_TestWebKitAccessibility_LDFLAGS = $(webkit2_tests_ldflags)
143
Programs_WebKit2APITests_TestDownloads_SOURCES = \
144
Source/WebKit2/UIProcess/API/gtk/tests/TestDownloads.cpp
145
Programs_WebKit2APITests_TestDownloads_CPPFLAGS = $(webkit2_tests_cppflags)
146
Programs_WebKit2APITests_TestDownloads_LDADD = $(webkit2_tests_ldadd)
147
Programs_WebKit2APITests_TestDownloads_LDFLAGS = $(webkit2_tests_ldflags)
149
Programs_WebKit2APITests_TestWebViewEditor_SOURCES = \
150
Source/WebKit2/UIProcess/API/gtk/tests/TestWebViewEditor.cpp
151
Programs_WebKit2APITests_TestWebViewEditor_CPPFLAGS = $(webkit2_tests_cppflags)
152
Programs_WebKit2APITests_TestWebViewEditor_LDADD = $(webkit2_tests_ldadd)
153
Programs_WebKit2APITests_TestWebViewEditor_LDFLAGS = $(webkit2_tests_ldflags)
155
Programs_WebKit2APITests_TestPrinting_SOURCES = \
156
Source/WebKit2/UIProcess/API/gtk/tests/TestPrinting.cpp
157
Programs_WebKit2APITests_TestPrinting_CPPFLAGS = $(webkit2_tests_cppflags) $(GTK_UNIX_PRINTING_CFLAGS)
158
Programs_WebKit2APITests_TestPrinting_LDADD = $(webkit2_tests_ldadd) $(GTK_UNIX_PRINTING_LIBS)
159
Programs_WebKit2APITests_TestPrinting_LDFLAGS = $(webkit2_tests_ldflags)
161
Programs_WebKit2APITests_TestWebKitFaviconDatabase_SOURCES = \
162
Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitFaviconDatabase.cpp
163
Programs_WebKit2APITests_TestWebKitFaviconDatabase_CPPFLAGS = $(webkit2_tests_cppflags)
164
Programs_WebKit2APITests_TestWebKitFaviconDatabase_LDADD = $(webkit2_tests_ldadd)
165
Programs_WebKit2APITests_TestWebKitFaviconDatabase_LDFLAGS = $(webkit2_tests_ldflags)
167
Programs_WebKit2APITests_TestWebKitFindController_SOURCES = \
168
Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitFindController.cpp
169
Programs_WebKit2APITests_TestWebKitFindController_CPPFLAGS = $(webkit2_tests_cppflags)
170
Programs_WebKit2APITests_TestWebKitFindController_LDADD = $(webkit2_tests_ldadd)
171
Programs_WebKit2APITests_TestWebKitFindController_LDFLAGS = $(webkit2_tests_ldflags)
173
Programs_WebKit2APITests_TestResources_SOURCES = \
174
Source/WebKit2/UIProcess/API/gtk/tests/TestResources.cpp
175
Programs_WebKit2APITests_TestResources_CPPFLAGS = $(webkit2_tests_cppflags)
176
Programs_WebKit2APITests_TestResources_LDADD = $(webkit2_tests_ldadd)
177
Programs_WebKit2APITests_TestResources_LDFLAGS = $(webkit2_tests_ldflags)
179
Programs_WebKit2APITests_TestCookieManager_SOURCES = \
180
Source/WebKit2/UIProcess/API/gtk/tests/TestCookieManager.cpp
181
Programs_WebKit2APITests_TestCookieManager_CPPFLAGS = $(webkit2_tests_cppflags)
182
Programs_WebKit2APITests_TestCookieManager_LDADD = $(webkit2_tests_ldadd)
183
Programs_WebKit2APITests_TestCookieManager_LDFLAGS = $(webkit2_tests_ldflags)
185
Programs_WebKit2APITests_TestInspector_SOURCES = \
186
Source/WebKit2/UIProcess/API/gtk/tests/TestInspector.cpp
187
Programs_WebKit2APITests_TestInspector_CPPFLAGS = \
188
-DWEBKIT_INSPECTOR_PATH=\"${shell pwd}/${top_builddir}/resources/inspector\" \
189
$(webkit2_tests_cppflags)
190
Programs_WebKit2APITests_TestInspector_LDADD = $(webkit2_tests_ldadd)
191
Programs_WebKit2APITests_TestInspector_LDFLAGS = $(webkit2_tests_ldflags)
193
Programs_WebKit2APITests_TestInspectorServer_SOURCES = \
194
Source/WebKit2/UIProcess/API/gtk/tests/TestInspectorServer.cpp
195
Programs_WebKit2APITests_TestInspectorServer_CPPFLAGS = $(webkit2_tests_cppflags)
196
Programs_WebKit2APITests_TestInspectorServer_LDADD = $(webkit2_tests_ldadd)
197
Programs_WebKit2APITests_TestInspectorServer_LDFLAGS = $(webkit2_tests_ldflags)
199
Programs_WebKit2APITests_TestWebKitVersion_SOURCES = \
200
Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitVersion.cpp
201
Programs_WebKit2APITests_TestWebKitVersion_CPPFLAGS = $(webkit2_tests_cppflags)
202
Programs_WebKit2APITests_TestWebKitVersion_LDADD = $(webkit2_tests_ldadd)
203
Programs_WebKit2APITests_TestWebKitVersion_LDFLAGS = $(webkit2_tests_ldflags)
205
Programs_WebKit2APITests_TestContextMenu_SOURCES = \
206
Source/WebKit2/UIProcess/API/gtk/tests/TestContextMenu.cpp
207
Programs_WebKit2APITests_TestContextMenu_CPPFLAGS = $(webkit2_tests_cppflags)
208
Programs_WebKit2APITests_TestContextMenu_LDADD = $(webkit2_tests_ldadd)
209
Programs_WebKit2APITests_TestContextMenu_LDFLAGS = $(webkit2_tests_ldflags)
211
Programs_WebKit2APITests_TestSSL_SOURCES = \
212
Source/WebKit2/UIProcess/API/gtk/tests/TestSSL.cpp
213
Programs_WebKit2APITests_TestSSL_CPPFLAGS = $(webkit2_tests_cppflags)
214
Programs_WebKit2APITests_TestSSL_LDADD = $(webkit2_tests_ldadd)
215
Programs_WebKit2APITests_TestSSL_LDFLAGS = $(webkit2_tests_ldflags)
217
endif # ENABLE_WEBKIT2