for the Qt build also build testkjs now
authorhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Dec 2006 10:50:27 +0000 (10:50 +0000)
committerhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Dec 2006 10:50:27 +0000 (10:50 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18265 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/testkjs.pro [new file with mode: 0644]
WebKit.pro

index 6172428..a57225f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-12-17  Simon Hausmann  <hausmann@kde.org>
+
+        Reviewed by Rob Buis.
+
+        * WebKit.pro: Build testkjs.
+
 2006-12-14  Timothy Hatcher  <timothy@apple.com>
 
         Reviewed by Brady.
index 9e9c197..668caa0 100644 (file)
@@ -1,3 +1,9 @@
+2006-12-17  Simon Hausmann  <hausmann@kde.org>
+
+        Reviewed by Rob Buis.
+
+        * kjs/testkjs.pro: Added .pro file to build testkjs.
+
 2006-12-16  Alexey Proskuryakov  <ap@webkit.org>
 
         Reviewed by Rob.
diff --git a/JavaScriptCore/kjs/testkjs.pro b/JavaScriptCore/kjs/testkjs.pro
new file mode 100644 (file)
index 0000000..246654e
--- /dev/null
@@ -0,0 +1,14 @@
+TEMPLATE = app
+TARGET = testkjs
+DESTDIR = ..
+SOURCES = testkjs.cpp
+QT -= gui
+DEFINES -= KJS_IDENTIFIER_HIDE_GLOBALS 
+DEFINES += BUILDING_QT__
+INCLUDEPATH += $$PWD $$PWD/kjs $$PWD/bindings $$PWD/bindings/c $$PWD/wtf
+LIBS += -L$$OUTPUT_DIR/lib -lJavaScriptCore
+QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
+
+isEmpty(OUTPUT_DIR):OUTPUT_DIR=$$PWD/../..
+include($$OUTPUT_DIR/config.pri)
+
index f0719d5..ad7f9a1 100644 (file)
@@ -3,5 +3,6 @@ CONFIG += ordered
 SUBDIRS = \
         JavaScriptCore \
         WebCore \
-       WebKitQt/QtLauncher \
-       WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro
+        WebKitQt/QtLauncher \
+        WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro \
+        JavaScriptCore/kjs/testkjs.pro