tizen beta release
[profile/ivi/webkit-efl.git] / Tools / DumpRenderTree / qt / TestNetscapePlugin / TestNetscapePlugin.pro
1 # -------------------------------------------------------------------
2 # Project file for the NPAPI test plugin
3 #
4 # See 'Tools/qmake/README' for an overview of the build system
5 # -------------------------------------------------------------------
6
7 TEMPLATE = lib
8 TARGET = TestNetscapePlugIn
9
10 CONFIG += plugin
11
12 SOURCES += \
13     PluginObject.cpp \
14     PluginTest.cpp \
15     TestObject.cpp \
16     main.cpp \
17     Tests/DocumentOpenInDestroyStream.cpp \
18     Tests/EvaluateJSAfterRemovingPluginElement.cpp \
19     Tests/FormValue.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
32
33 load(webcore)
34
35 VPATH = ../../unix/TestNetscapePlugin ../../TestNetscapePlugIn
36
37
38 INCLUDEPATH += \
39     ../../unix/TestNetscapePlugin/ForwardingHeaders \
40     ../../unix/TestNetscapePlugin/ForwardingHeaders/WebKit \
41     ../../TestNetscapePlugIn
42
43 DESTDIR = $${ROOT_BUILD_DIR}/lib/plugins
44
45 mac {
46     CONFIG += plugin_bundle
47     QMAKE_INFO_PLIST = ../../TestNetscapePlugIn/mac/Info.plist
48     QMAKE_PLUGIN_BUNDLE_NAME = $$TARGET
49     QMAKE_BUNDLE_LOCATION += "Contents/MacOS"
50
51     !build_pass:CONFIG += build_all
52     debug_and_release:TARGET = $$qtLibraryTarget($$TARGET)
53
54     OBJECTIVE_SOURCES += PluginObjectMac.mm
55     LIBS += -framework Carbon -framework Cocoa -framework QuartzCore
56 }
57
58 !win32:!embedded:!mac {
59     LIBS += -lX11
60     DEFINES += XP_UNIX
61 }