# This is a dummy .pro file used to extract some aspects of the used configuration and feed them to gyp # We want the gyp generation step to happen after all the other config steps. For that we need to prepend # our gyp_generator.prf feature to the CONFIG variable since it is processed backwards CONFIG = gyp_generator $$CONFIG GYPFILE = $$PWD/core_generated.gyp GYPINCLUDES += qtwebengine.gypi TEMPLATE = lib TARGET = Qt5WebEngineCore # gyp sets the default install name to /usr/local/lib and we need the module libraries to # know its install_name so that they can let the dynamic linker load the core library. # FIXME: Remove this and put it in qtwebengine.gypi once we can use a relative path to @loader_path. macx: GYP_DYLIB_INSTALL_NAME_BASE = $$getOutDir()/$$getConfigDir() QT += qml quick QT_PRIVATE += qml-private quick-private gui-private core-private # Defining keywords such as 'signal' clashes with the chromium code base. DEFINES += QT_NO_KEYWORDS \ Q_FORWARD_DECLARE_OBJC_CLASS=QT_FORWARD_DECLARE_CLASS \ QTWEBENGINEPROCESS_NAME=\\\"$$QTWEBENGINEPROCESS_NAME\\\" \ BUILDING_CHROMIUM # Keep Skia happy CONFIG(release, debug|release): DEFINES += NDEBUG RESOURCES += devtools.qrc # something fishy with qmake in 5.2 ? INCLUDEPATH += $$[QT_INSTALL_HEADERS] $$PWD SOURCES = \ backing_store_qt.cpp \ browser_context_qt.cpp \ chromium_gpu_helper.cpp \ chromium_overrides.cpp \ common/qt_messages.cpp \ content_client_qt.cpp \ content_browser_client_qt.cpp \ content_main_delegate_qt.cpp \ delegated_frame_node.cpp \ dev_tools_http_handler_delegate_qt.cpp \ download_manager_delegate_qt.cpp \ javascript_dialog_controller.cpp \ javascript_dialog_manager_qt.cpp \ process_main.cpp \ qt_render_view_observer_host.cpp \ render_widget_host_view_qt.cpp \ renderer/content_renderer_client_qt.cpp \ renderer/qt_render_view_observer.cpp \ resource_bundle_qt.cpp \ resource_context_qt.cpp \ stream_video_node.cpp \ url_request_context_getter_qt.cpp \ web_contents_adapter.cpp \ web_contents_delegate_qt.cpp \ web_contents_view_qt.cpp \ web_engine_context.cpp \ web_engine_error.cpp \ web_engine_library_info.cpp \ web_event_factory.cpp \ yuv_video_node.cpp \ qrc_protocol_handler_qt.cpp \ url_request_qrc_job_qt.cpp HEADERS = \ backing_store_qt.h \ browser_context_qt.h \ chromium_overrides.h \ common/qt_messages.h \ content_client_qt.h \ content_browser_client_qt.h \ content_main_delegate_qt.h \ delegated_frame_node.h \ dev_tools_http_handler_delegate_qt.h \ download_manager_delegate_qt.h \ chromium_gpu_helper.h \ javascript_dialog_controller_p.h \ javascript_dialog_controller.h \ javascript_dialog_manager_qt.h \ process_main.h \ qt_render_view_observer_host.h \ render_widget_host_view_qt.h \ render_widget_host_view_qt_delegate.h \ renderer/content_renderer_client_qt.h \ renderer/qt_render_view_observer.h \ resource_context_qt.h \ stream_video_node.h \ url_request_context_getter_qt.h \ web_contents_adapter.h \ web_contents_adapter_client.h \ web_contents_delegate_qt.h \ web_contents_view_qt.h \ web_engine_context.h \ web_engine_error.h \ web_engine_library_info.h \ web_event_factory.h \ yuv_video_node.h \ qrc_protocol_handler_qt.h \ url_request_qrc_job_qt.h VERSION = $$MODULE_VERSION win32:CONFIG += skip_target_version_ext load(resolve_target) TARGET_NAME = $$basename(QMAKE_RESOLVED_TARGET) TARGET_NAME = $$replace(TARGET_NAME, .$${VERSION},) target.files = $$getOutDir()/$$getConfigDir()/lib/$$TARGET_NAME target.CONFIG += no_check_exist # Trust us, qmake... target.path = $$[QT_INSTALL_LIBS] INSTALLS += target