1 # -------------------------------------------------------------------
2 # Project file for the NPAPI test plugin
4 # See 'Tools/qmake/README' for an overview of the build system
5 # -------------------------------------------------------------------
8 TARGET = TestNetscapePlugIn
17 Tests/DocumentOpenInDestroyStream.cpp \
18 Tests/EvaluateJSAfterRemovingPluginElement.cpp \
20 Tests/GetURLNotifyWithURLThatFailsToLoad.cpp \
21 Tests/GetURLWithJavaScriptURL.cpp \
22 Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp \
23 Tests/GetUserAgentWithNullNPPFromNPPNew.cpp \
24 Tests/NPDeallocateCalledBeforeNPShutdown.cpp \
25 Tests/NPPSetWindowCalledDuringDestruction.cpp \
26 Tests/NPRuntimeObjectFromDestroyedPlugin.cpp \
27 Tests/NPRuntimeRemoveProperty.cpp \
28 Tests/NullNPPGetValuePointer.cpp \
29 Tests/PassDifferentNPPStruct.cpp \
30 Tests/PluginScriptableNPObjectInvokeDefault.cpp \
31 Tests/PrivateBrowsing.cpp
35 VPATH = ../../unix/TestNetscapePlugin ../../TestNetscapePlugIn
39 ../../unix/TestNetscapePlugin/ForwardingHeaders \
40 ../../unix/TestNetscapePlugin/ForwardingHeaders/WebKit \
41 ../../TestNetscapePlugIn
43 DESTDIR = $${ROOT_BUILD_DIR}/lib/plugins
46 CONFIG += plugin_bundle
47 QMAKE_INFO_PLIST = ../../TestNetscapePlugIn/mac/Info.plist
48 QMAKE_PLUGIN_BUNDLE_NAME = $$TARGET
49 QMAKE_BUNDLE_LOCATION += "Contents/MacOS"
51 !build_pass:CONFIG += build_all
52 debug_and_release:TARGET = $$qtLibraryTarget($$TARGET)
54 OBJECTIVE_SOURCES += PluginObjectMac.mm
55 LIBS += -framework Carbon -framework Cocoa -framework QuartzCore
58 !win32:!embedded:!mac {