blob: efe946dd1c849ec2c5b314f48bd16455d79821eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# -------------------------------------------------------------------
# Project file for the NPAPI test plugin
#
# See 'Tools/qmake/README' for an overview of the build system
# -------------------------------------------------------------------
TEMPLATE = lib
TARGET = TestNetscapePlugIn
CONFIG += plugin
SOURCES += \
PluginObject.cpp \
PluginTest.cpp \
TestObject.cpp \
main.cpp \
Tests/DocumentOpenInDestroyStream.cpp \
Tests/EvaluateJSAfterRemovingPluginElement.cpp \
Tests/FormValue.cpp \
Tests/GetURLNotifyWithURLThatFailsToLoad.cpp \
Tests/GetURLWithJavaScriptURL.cpp \
Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp \
Tests/GetUserAgentWithNullNPPFromNPPNew.cpp \
Tests/NPDeallocateCalledBeforeNPShutdown.cpp \
Tests/NPPSetWindowCalledDuringDestruction.cpp \
Tests/NPRuntimeObjectFromDestroyedPlugin.cpp \
Tests/NPRuntimeRemoveProperty.cpp \
Tests/NullNPPGetValuePointer.cpp \
Tests/PassDifferentNPPStruct.cpp \
Tests/PluginScriptableNPObjectInvokeDefault.cpp \
Tests/PrivateBrowsing.cpp
WEBKIT += webcore # For NPAPI headers
VPATH = ../../unix/TestNetscapePlugin ../../TestNetscapePlugIn
INCLUDEPATH += \
../../TestNetscapePlugIn/unix/ForwardingHeaders \
../../TestNetscapePlugIn/unix/ForwardingHeaders/WebKit \
../../TestNetscapePlugIn
DESTDIR = $${ROOT_BUILD_DIR}/lib/plugins
mac {
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
OBJECTIVE_SOURCES += PluginObjectMac.mm
LIBS += -framework Carbon -framework Cocoa -framework QuartzCore
}
!win32:!embedded:!mac {
LIBS += -lX11
DEFINES += XP_UNIX
}
|