[ATK] Missing WTR AccessibilityUIElement::addNotificationListener implementation
[WebKit-https.git] / Tools / WebKitTestRunner / GNUmakefile.am
1
2 stamp-webkittestrunner-forwarding-headers: $(WebKit2)/Scripts/generate-forwarding-headers.pl $(Programs_WebKitTestRunner_SOURCES) $(Libraries_libTestRunnerInjectedBundle_la_SOURCES)
3         $(AM_V_GEN)$(PERL) $< $(srcdir)/Tools/WebKitTestRunner $(GENSOURCES_WEBKIT2)/include gtk \
4         && echo timestamp > $(@F)
5
6 BUILT_SOURCES += $(top_builddir)/stamp-webkittestrunner-forwarding-headers
7
8 if ENABLE_WEBKIT2
9 noinst_PROGRAMS += \
10         Programs/WebKitTestRunner
11 endif
12
13 Programs_WebKitTestRunner_SOURCES = \
14         Tools/WebKitTestRunner/EventSenderProxy.h \
15         Tools/WebKitTestRunner/gtk/main.cpp \
16         Tools/WebKitTestRunner/gtk/EventSenderProxyGtk.cpp \
17         Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp \
18         Tools/WebKitTestRunner/gtk/TestControllerGtk.cpp \
19         Tools/WebKitTestRunner/cairo/TestInvocationCairo.cpp \
20         Tools/WebKitTestRunner/CyclicRedundancyCheck.cpp \
21         Tools/WebKitTestRunner/CyclicRedundancyCheck.h \
22         Tools/WebKitTestRunner/GeolocationProviderMock.cpp \
23         Tools/WebKitTestRunner/GeolocationProviderMock.h \
24         Tools/WebKitTestRunner/PixelDumpSupport.cpp \
25         Tools/WebKitTestRunner/PixelDumpSupport.h \
26         Tools/WebKitTestRunner/PlatformWebView.h \
27         Tools/WebKitTestRunner/StringFunctions.h \
28         Tools/WebKitTestRunner/TestController.cpp \
29         Tools/WebKitTestRunner/TestController.h \
30         Tools/WebKitTestRunner/TestInvocation.cpp \
31         Tools/WebKitTestRunner/TestInvocation.h \
32         Tools/WebKitTestRunner/WebNotificationProvider.cpp \
33         Tools/WebKitTestRunner/WebNotificationProvider.h \
34         Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h \
35         Tools/WebKitTestRunner/WorkQueueManager.cpp \
36         Tools/WebKitTestRunner/WorkQueueManager.h
37
38 Programs_WebKitTestRunner_CPPFLAGS = \
39         -include Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h \
40         -I$(srcdir)/Tools/WebKitTestRunner \
41         -I$(srcdir)/Source/WebCore/platform/gtk \
42         -I$(top_builddir)/DerivedSources/WebKit2/include \
43         $(global_cppflags) \
44         $(javascriptcore_cppflags) \
45         $(webcore_cppflags) \
46         $(CAIRO_CFLAGS) \
47         $(GTK_CFLAGS) \
48         $(LIBSOUP_CFLAGS)
49 Programs_WebKitTestRunner_CXXFLAGS = $(global_cxxflags)
50 Programs_WebKitTestRunner_CFLAGS = $(global_cflags)
51
52 Programs_WebKitTestRunner_LDADD = \
53         libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
54         libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
55         $(CAIRO_LIBS) \
56         $(GTK_LIBS) \
57         $(GLIB_LIBS) \
58         $(LIBSOUP_LIBS) \
59         $(FREETYPE_LIBS) \
60         $(WINMM_LIBS) \
61         $(XRENDER_LIBS) \
62         $(XT_LIBS)
63
64 Programs_WebKitTestRunner_LDFLAGS = \
65         -no-fast-install \
66         -no-install
67
68 # The InjectedBundle library allows the render process to load harness code.
69 if ENABLE_WEBKIT2
70 noinst_LTLIBRARIES += Libraries/libTestRunnerInjectedBundle.la
71 endif
72
73 webkittestrunner_built_sources += \
74         DerivedSources/InjectedBundle/JSAccessibilityController.cpp \
75         DerivedSources/InjectedBundle/JSAccessibilityTextMarker.cpp \
76         DerivedSources/InjectedBundle/JSAccessibilityTextMarkerRange.cpp \
77         DerivedSources/InjectedBundle/JSAccessibilityUIElement.cpp \
78         DerivedSources/InjectedBundle/JSEventSendingController.cpp \
79         DerivedSources/InjectedBundle/JSGCController.cpp \
80         DerivedSources/InjectedBundle/JSTestRunner.cpp \
81         DerivedSources/InjectedBundle/JSTextInputController.cpp
82 nodist_Libraries_libTestRunnerInjectedBundle_la_SOURCES = $(webkittestrunner_built_sources)
83 BUILT_SOURCES += $(webkittestrunner_built_sources)
84
85 Libraries_libTestRunnerInjectedBundle_la_SOURCES = \
86         Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.cpp \
87         Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.h \
88         Tools/WebKitTestRunner/InjectedBundle/AccessibilityTextMarker.cpp \
89         Tools/WebKitTestRunner/InjectedBundle/AccessibilityTextMarker.h \
90         Tools/WebKitTestRunner/InjectedBundle/AccessibilityTextMarkerRange.cpp \
91         Tools/WebKitTestRunner/InjectedBundle/AccessibilityTextMarkerRange.h \
92         Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp \
93         Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h \
94         Tools/WebKitTestRunner/InjectedBundle/ActivateFonts.h \
95         Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp \
96         Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp \
97         Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.h \
98         Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp \
99         Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h \
100         Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.cpp \
101         Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.h \
102         Tools/WebKitTestRunner/InjectedBundle/EventSendingController.cpp \
103         Tools/WebKitTestRunner/InjectedBundle/EventSendingController.h \
104         Tools/WebKitTestRunner/InjectedBundle/GCController.cpp \
105         Tools/WebKitTestRunner/InjectedBundle/GCController.h \
106         Tools/WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp \
107         Tools/WebKitTestRunner/InjectedBundle/gtk/InjectedBundleGtk.cpp \
108         Tools/WebKitTestRunner/InjectedBundle/gtk/InjectedBundleUtilities.cpp \
109         Tools/WebKitTestRunner/InjectedBundle/gtk/InjectedBundleUtilities.h \
110         Tools/WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp \
111         Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp \
112         Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.h \
113         Tools/WebKitTestRunner/InjectedBundle/InjectedBundleMain.cpp \
114         Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp \
115         Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.h \
116         Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp \
117         Tools/WebKitTestRunner/InjectedBundle/TestRunner.h \
118         Tools/WebKitTestRunner/InjectedBundle/TextInputController.cpp \
119         Tools/WebKitTestRunner/InjectedBundle/TextInputController.h
120
121 Libraries_libTestRunnerInjectedBundle_la_LIBADD = \
122         libWebCoreInternals.la
123
124 Libraries_libTestRunnerInjectedBundle_la_LDFLAGS = \
125         -rpath ${shell pwd}/$(top_builddir)/../unix/TestNetscapePlugin/.libs \
126         $(no_undefined) \
127         -avoid-version \
128         -module
129
130 Libraries_libTestRunnerInjectedBundle_la_CPPFLAGS = \
131         -DFONTS_CONF_DIR=\"${shell pwd}/${srcdir}/Tools/DumpRenderTree/gtk/fonts\" \
132         -DTOP_LEVEL_DIR=\"${shell pwd}/${srcdir}\" \
133         -include Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h \
134         -I$(srcdir)/Tools/WebKitTestRunner \
135         -I$(srcdir)/Tools/WebKitTestRunner/InjectedBundle \
136         -I$(srcdir)/Tools/WebKitTestRunner/InjectedBundle/Bindings \
137         -I$(srcdir)/Tools/WebKitTestRunner/InjectedBundle/atk \
138         -I$(srcdir)/Source/WebCore/testing/js \
139         -I$(top_builddir)/DerivedSources/InjectedBundle \
140         -I$(top_builddir)/DerivedSources/WebKit2/include \
141         $(global_cppflags) \
142         $(javascriptcore_cppflags) \
143         $(webcore_cppflags) \
144         $(CAIRO_CFLAGS) \
145         $(GLIB_CFLAGS) \
146         $(GTK_CFLAGS) \
147         $(LIBSOUP_CFLAGS)
148 Libraries_libTestRunnerInjectedBundle_la_CXXFLAGS = $(global_cxxflags)
149 Libraries_libTestRunnerInjectedBundle_la_CFLAGS = $(global_cflags)
150
151 code_generation_dependencies = \
152         Tools/WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm \
153         Source/WebCore/bindings/scripts/CodeGenerator.pm \
154         Source/WebCore/bindings/scripts/IDLParser.pm \
155         Source/WebCore/bindings/scripts/InFilesParser.pm \
156         Source/WebCore/bindings/scripts/generate-bindings.pl
157
158 DerivedSources/InjectedBundle/JS%.cpp: Tools/WebKitTestRunner/InjectedBundle/Bindings/%.idl $(code_generation_dependencies)
159         $(AM_V_GEN)$(PERL) \
160                 -I $(srcdir)/Source/WebCore/bindings/scripts \
161                 -I $(srcdir)/Tools/WebKitTestRunner/InjectedBundle/Bindings \
162                 $(srcdir)/Source/WebCore/bindings/scripts/generate-bindings.pl \
163                 --defines \"\" --generator TestRunner \
164                 --include $(srcdir)/Tools/InjectedBundle/Bindings \
165                 --outputDir $(top_builddir)/DerivedSources/InjectedBundle \
166                 $<
167
168 EXTRA_DIST += \
169         $(srcdir)/Tools/WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm \
170         $(srcdir)/Source/WebCore/bindings/scripts/CodeGenerator.pm \
171         $(srcdir)/Source/WebCore/bindings/scripts/IDLParser.pm \
172         $(srcdir)/Source/WebCore/bindings/scripts/InFilesParser.pm \
173         $(srcdir)/Source/WebCore/bindings/scripts/generate-bindings.pl \
174         $(shell ls $(srcdir)/Tools/WebKitTestRunner/InjectedBundle/Bindings/*.idl)