WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro
changeset 2 303757a437d3
parent 0 4f2f89ce4247
equal deleted inserted replaced
0:4f2f89ce4247 2:303757a437d3
     1 TEMPLATE = lib
       
     2 TARGET = TestNetscapePlugIn
       
     3 
       
     4 VPATH = ../../unix/TestNetscapePlugin ../../TestNetscapePlugIn
       
     5 isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../../../..
       
     6 include(../../../../WebKit.pri)
       
     7 
       
     8 DESTDIR = $$OUTPUT_DIR/lib/plugins
       
     9 
       
    10 mac {
       
    11     CONFIG += plugin
       
    12     CONFIG += plugin_bundle
       
    13     QMAKE_INFO_PLIST = ../../TestNetscapePlugIn/mac/Info.plist
       
    14     QMAKE_PLUGIN_BUNDLE_NAME = $$TARGET
       
    15     QMAKE_BUNDLE_LOCATION += "Contents/MacOS"
       
    16 
       
    17     !build_pass:CONFIG += build_all
       
    18     debug_and_release:TARGET = $$qtLibraryTarget($$TARGET)
       
    19 }
       
    20 
       
    21 INCLUDEPATH += ../../../../JavaScriptCore \
       
    22                ../../unix/TestNetscapePlugin/ForwardingHeaders \
       
    23                ../../unix/TestNetscapePlugin/ForwardingHeaders/WebKit \
       
    24                ../../../../WebCore \
       
    25                ../../../../WebCore/bridge \
       
    26                ../../TestNetscapePlugIn
       
    27 
       
    28 SOURCES = PluginObject.cpp \
       
    29           TestObject.cpp
       
    30 
       
    31 mac {
       
    32     SOURCES += ../../TestNetscapePlugIn/main.cpp
       
    33     OBJECTIVE_SOURCES += PluginObjectMac.mm
       
    34     LIBS += -framework Carbon -framework Cocoa -framework QuartzCore
       
    35 } else {
       
    36     SOURCES += ../../unix/TestNetscapePlugin/TestNetscapePlugin.cpp
       
    37 }