diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-06-10 16:51:06 +0200 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-06-10 18:11:18 +0200 |
commit | c373b6ca6c3bc2597a54cecffd409ea84798905f (patch) | |
tree | 09f6067d368eeb8223553b3ac4a5254f4ace6547 /shared/shared.pro | |
parent | 83a2bc6d446387d25fd10164e87627c9d49878eb (diff) |
Fix undefined symbols in debug builds.
process uses the same code as lib and decides at runtime which
code to run. Fix the debug build by making sure that all infrastructure
code is available in both process and lib by building common code
not shared directly through chromium sources in a separate static lib.
Diffstat (limited to 'shared/shared.pro')
-rw-r--r-- | shared/shared.pro | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/shared/shared.pro b/shared/shared.pro new file mode 100644 index 000000000..0fb50e94c --- /dev/null +++ b/shared/shared.pro @@ -0,0 +1,35 @@ +# 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 +GYPINCLUDES += ../blinq.gypi + +TEMPLATE = lib +CONFIG += static + +TARGET = blinq_shared + +# Defining keywords such as 'signal' clashes with the chromium code base. +DEFINES += QT_NO_KEYWORDS + +# We need a way to tap into gyp´s Debug vs. Release configuration +PER_CONFIG_DEFINES = BLINQ_PROCESS_PATH=\\\"$$getOutDir()/%config/$$BLINQ_PROCESS_NAME\\\" + +# Keep Skia happy +CONFIG(release, debug|release): DEFINES += NDEBUG + +QT += widgets quick + +SOURCES = \ + backing_store_qt.cpp \ + render_widget_host_view_qt.cpp \ + web_event_factory.cpp \ + native_view_qt.cpp + +HEADERS = \ + backing_store_qt.h \ + native_view_container_qt.h \ + native_view_qt.h \ + render_widget_host_view_qt.h \ + web_event_factory.h + |