WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro
changeset 0 4f2f89ce4247
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro	Fri Sep 17 09:02:29 2010 +0300
@@ -0,0 +1,37 @@
+TEMPLATE = lib
+TARGET = TestNetscapePlugIn
+
+VPATH = ../../unix/TestNetscapePlugin ../../TestNetscapePlugIn
+isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../../../..
+include(../../../../WebKit.pri)
+
+DESTDIR = $$OUTPUT_DIR/lib/plugins
+
+mac {
+    CONFIG += plugin
+    CONFIG += plugin_bundle
+    QMAKE_INFO_PLIST = ../../TestNetscapePlugIn/mac/Info.plist
+    QMAKE_PLUGIN_BUNDLE_NAME = $$TARGET
+    QMAKE_BUNDLE_LOCATION += "Contents/MacOS"
+
+    !build_pass:CONFIG += build_all
+    debug_and_release:TARGET = $$qtLibraryTarget($$TARGET)
+}
+
+INCLUDEPATH += ../../../../JavaScriptCore \
+               ../../unix/TestNetscapePlugin/ForwardingHeaders \
+               ../../unix/TestNetscapePlugin/ForwardingHeaders/WebKit \
+               ../../../../WebCore \
+               ../../../../WebCore/bridge \
+               ../../TestNetscapePlugIn
+
+SOURCES = PluginObject.cpp \
+          TestObject.cpp
+
+mac {
+    SOURCES += ../../TestNetscapePlugIn/main.cpp
+    OBJECTIVE_SOURCES += PluginObjectMac.mm
+    LIBS += -framework Carbon -framework Cocoa -framework QuartzCore
+} else {
+    SOURCES += ../../unix/TestNetscapePlugin/TestNetscapePlugin.cpp
+}