2 generate-webkittestrunner-forwarding-headers
4 generate-webkittestrunner-forwarding-headers: $(WebKit2)/Scripts/generate-forwarding-headers.pl $(Programs_WebKitTestRunner_SOURCES)
5 $(AM_V_GEN)$(PERL) $< $(srcdir)/Tools/WebKitTestRunner $(GENSOURCES_WEBKIT2)/include gtk
6 $(AM_V_GEN)$(PERL) $< $(srcdir)/Tools/WebKitTestRunner $(GENSOURCES_WEBKIT2)/include soup
9 Programs/WebKitTestRunner
11 Programs_WebKitTestRunner_SOURCES = \
12 Tools/WebKitTestRunner/gtk/main.cpp \
13 Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp \
14 Tools/WebKitTestRunner/gtk/TestControllerGtk.cpp \
15 Tools/WebKitTestRunner/cairo/TestInvocationCairo.cpp \
16 Tools/WebKitTestRunner/CyclicRedundancyCheck.cpp \
17 Tools/WebKitTestRunner/CyclicRedundancyCheck.h \
18 Tools/WebKitTestRunner/PixelDumpSupport.cpp \
19 Tools/WebKitTestRunner/PixelDumpSupport.h \
20 Tools/WebKitTestRunner/PlatformWebView.h \
21 Tools/WebKitTestRunner/StringFunctions.h \
22 Tools/WebKitTestRunner/TestController.cpp \
23 Tools/WebKitTestRunner/TestController.h \
24 Tools/WebKitTestRunner/TestInvocation.cpp \
25 Tools/WebKitTestRunner/TestInvocation.h
27 Programs_WebKitTestRunner_CPPFLAGS = \
28 -include Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h \
29 -I$(srcdir)/Tools/WebKitTestRunner \
30 -I$(top_builddir)/DerivedSources/WebKit2/include \
31 -DWEBKIT_EXEC_PATH=\"${shell pwd}/$(top_builddir)/Programs/\" \
33 $(javascriptcore_cppflags) \
34 $(GLOBALDEPS_CFLAGS) \
38 Programs_WebKitTestRunner_CXXFLAGS = $(global_cxxflags)
39 Programs_WebKitTestRunner_CFLAGS = $(global_cflags)
41 Programs_WebKitTestRunner_LDADD = \
42 libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
43 libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
52 Programs_WebKitTestRunner_LDFLAGS = \
56 # The InjectedBundle library allows the render process to load harness code.
57 noinst_LTLIBRARIES += Libraries/libTestRunnerInjectedBundle.la
59 webkittestrunner_built_sources += \
60 DerivedSources/InjectedBundle/JSEventSendingController.cpp \
61 DerivedSources/InjectedBundle/JSGCController.cpp \
62 DerivedSources/InjectedBundle/JSLayoutTestController.cpp
63 nodist_Libraries_libTestRunnerInjectedBundle_la_SOURCES = $(webkittestrunner_built_sources)
64 BUILT_SOURCES += $(webkittestrunner_built_sources)
66 Libraries_libTestRunnerInjectedBundle_la_SOURCES = \
67 Tools/WebKitTestRunner/InjectedBundle/ActivateFonts.h \
68 Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h \
69 Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.cpp \
70 Tools/WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.h \
71 Tools/WebKitTestRunner/InjectedBundle/EventSendingController.cpp \
72 Tools/WebKitTestRunner/InjectedBundle/EventSendingController.h \
73 Tools/WebKitTestRunner/InjectedBundle/GCController.cpp \
74 Tools/WebKitTestRunner/InjectedBundle/GCController.h \
75 Tools/WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp \
76 Tools/WebKitTestRunner/InjectedBundle/gtk/InjectedBundleGtk.cpp \
77 Tools/WebKitTestRunner/InjectedBundle/gtk/LayoutTestControllerGtk.cpp \
78 Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp \
79 Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.h \
80 Tools/WebKitTestRunner/InjectedBundle/InjectedBundleMain.cpp \
81 Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp \
82 Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.h \
83 Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp \
84 Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h
86 Libraries_libTestRunnerInjectedBundle_la_LIBADD = \
87 libWebCoreInternals.la
89 Libraries_libTestRunnerInjectedBundle_la_LDFLAGS = \
90 -rpath ${shell pwd}/$(top_builddir)/../unix/TestNetscapePlugin/.libs \
95 Libraries_libTestRunnerInjectedBundle_la_CPPFLAGS = \
96 -DFONTS_CONF_DIR=\"${shell pwd}/${srcdir}/Tools/DumpRenderTree/gtk/fonts\" \
97 -include Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h \
98 -I$(srcdir)/Tools/WebKitTestRunner \
99 -I$(srcdir)/Tools/WebKitTestRunner/InjectedBundle \
100 -I$(srcdir)/Tools/WebKitTestRunner/InjectedBundle/Bindings \
101 -I$(srcdir)/Source/WebCore/testing/js \
102 -I$(top_builddir)/DerivedSources/InjectedBundle \
103 -I$(top_builddir)/DerivedSources/WebKit2/include \
105 $(javascriptcore_cppflags) \
106 $(GLOBALDEPS_CFLAGS) \
111 Libraries_libTestRunnerInjectedBundle_la_CXXFLAGS = $(global_cxxflags)
112 Libraries_libTestRunnerInjectedBundle_la_CFLAGS = $(global_cflags)
114 code_generation_dependencies = \
115 Tools/WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm \
116 Source/WebCore/bindings/scripts/CodeGenerator.pm \
117 Source/WebCore/bindings/scripts/IDLParser.pm \
118 Source/WebCore/bindings/scripts/IDLStructure.pm \
119 Source/WebCore/bindings/scripts/InFilesParser.pm \
120 Source/WebCore/bindings/scripts/generate-bindings.pl
122 DerivedSources/InjectedBundle/JS%.cpp: Tools/WebKitTestRunner/InjectedBundle/Bindings/%.idl $(code_generation_dependencies)
124 -I $(srcdir)/Source/WebCore/bindings/scripts \
125 -I $(srcdir)/Tools/WebKitTestRunner/InjectedBundle/Bindings \
126 $(srcdir)/Source/WebCore/bindings/scripts/generate-bindings.pl \
127 --defines \"\" --generator TestRunner \
128 --include $(srcdir)/Tools/InjectedBundle/Bindings \
129 --outputDir $(top_builddir)/DerivedSources/InjectedBundle \