[GTK] Set up the TestJavaScriptCore in TestWebKitAPI
[WebKit-https.git] / Tools / TestWebKitAPI / GNUmakefile.am
index 31a2eed..5013f82 100644 (file)
@@ -21,6 +21,7 @@ Libraries_libTestWebKitAPIMain_la_CPPFLAGS = \
 
 noinst_PROGRAMS += \
        Programs/TestWebKitAPI/TestWTF \
+       Programs/TestWebKitAPI/TestJavaScriptCore \
        Programs/TestWebKitAPI/TestGtk
 
 if ENABLE_WEBKIT2
@@ -71,6 +72,25 @@ Programs_TestWebKitAPI_TestWTF_SOURCES = \
        Tools/TestWebKitAPI/Tests/WTF/VectorReverse.cpp \
        Tools/TestWebKitAPI/WTFStringUtilities.h
 
+Programs_TestWebKitAPI_TestJavaScriptCore_CPPFLAGS = \
+       $(Libraries_libTestWebKitAPIMain_la_CPPFLAGS)
+
+Programs_TestWebKitAPI_TestJavaScriptCore_CXXFLAGS = \
+       $(global_cxxflags)
+
+Programs_TestWebKitAPI_TestJavaScriptCore_LDADD = \
+       Libraries/libTestWebKitAPIMain.la \
+       Libraries/libgtest.la \
+       libWTF.la \
+       $(GTK_LIBS)
+
+Programs_TestWebKitAPI_TestJavaScriptCore_LDFLAGS = \
+       -no-install \
+       -no-fast-install
+
+Programs_TestWebKitAPI_TestJavaScriptCore_SOURCES = \
+       Tools/TestWebKitAPI/Tests/JavaScriptCore/VMInspector.cpp
+
 Programs_TestWebKitAPI_TestGtk_CPPFLAGS = \
        $(Programs_TestWebKitAPI_TestWTF_CPPFLAGS) \
        $(platformgtk_cppflags) \