2 TARGET = TestNetscapePlugIn
4 VPATH = ../../unix/TestNetscapePlugin ../../TestNetscapePlugIn
5 isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../../../..
6 include(../../../../Source/WebKit.pri)
8 DESTDIR = $$OUTPUT_DIR/lib/plugins
12 CONFIG += plugin_bundle
13 QMAKE_INFO_PLIST = ../../TestNetscapePlugIn/mac/Info.plist
14 QMAKE_PLUGIN_BUNDLE_NAME = $$TARGET
15 QMAKE_BUNDLE_LOCATION += "Contents/MacOS"
17 !build_pass:CONFIG += build_all
18 debug_and_release:TARGET = $$qtLibraryTarget($$TARGET)
21 INCLUDEPATH += ../../../../Source/JavaScriptCore \
22 ../../unix/TestNetscapePlugin/ForwardingHeaders \
23 ../../unix/TestNetscapePlugin/ForwardingHeaders/WebKit \
24 ../../../../Source/WebCore \
25 ../../../../Source/WebCore/bridge \
26 ../../TestNetscapePlugIn
28 SOURCES = PluginObject.cpp \
32 Tests/DocumentOpenInDestroyStream.cpp \
33 Tests/EvaluateJSAfterRemovingPluginElement.cpp \
35 Tests/GetURLNotifyWithURLThatFailsToLoad.cpp \
36 Tests/GetURLWithJavaScriptURL.cpp \
37 Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp \
38 Tests/GetUserAgentWithNullNPPFromNPPNew.cpp \
39 Tests/NPDeallocateCalledBeforeNPShutdown.cpp \
40 Tests/NPPSetWindowCalledDuringDestruction.cpp \
41 Tests/NPRuntimeObjectFromDestroyedPlugin.cpp \
42 Tests/NPRuntimeRemoveProperty.cpp \
43 Tests/NullNPPGetValuePointer.cpp \
44 Tests/PassDifferentNPPStruct.cpp \
45 Tests/PluginScriptableNPObjectInvokeDefault.cpp \
46 Tests/PrivateBrowsing.cpp
49 OBJECTIVE_SOURCES += PluginObjectMac.mm
50 LIBS += -framework Carbon -framework Cocoa -framework QuartzCore
53 DEFINES -= QT_ASCII_CAST_WARNINGS
55 !win32:!embedded:!mac:!symbian {