diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-11-19 17:55:49 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-28 16:15:59 +0100 |
commit | fd61d752e313bf91a09c85020b3fb50067c610c8 (patch) | |
tree | 5aeff0a1039acc3e7bf7ced21870cac42d491f9e /src/core/qtwebengine.gypi | |
parent | 84a400e80d7e40aba2853411fdfb22f244c3e728 (diff) |
Moving sources to src part 1: Move files.
This only move files without adjusting any paths.
This moves:
- lib/quick -> src/webengine/api (API files)
lib/quick -> src/webengine (other files)
This contains the main QtWebEngine module library since
<ec7b2ee70a8b2db7fb87f50671a001ddd54697b0>.
- lib/widgets -> src/webenginewidgets
Also rename this directory to match its module name and rename Api to api.
- lib -> src/core
- process -> src/process
- resources -> src/core/resources
- tools/* -> tools/scripts/
The build directory is spread as follow:
- build/build.pro -> src/core/gyp_run.pro
- build/qmake_extras/* -> src/core/ (for the host and target .pro files)
- build/qmake -> tools/qmake
- Build related scripts -> tools/buildscripts
Change-Id: I0cded1de772c99c0c1da6536c9afea353236b4a1
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'src/core/qtwebengine.gypi')
-rw-r--r-- | src/core/qtwebengine.gypi | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/src/core/qtwebengine.gypi b/src/core/qtwebengine.gypi new file mode 100644 index 000000000..f13e781f5 --- /dev/null +++ b/src/core/qtwebengine.gypi @@ -0,0 +1,104 @@ +{ + 'variables': { + 'blink_process_product_name': 'Blink Process', +# Define used when building the user agent. Pass as recent enough chrome with an irrealistic minor version. + 'user_agent_version': '22.42.5.2', + 'conditions': [ + ['OS=="linux"', { + 'use_custom_freetype%': 1, + }, { + 'use_custom_freetype%': 0, + }], + ], + }, + 'dependencies': [ + '<(chromium_src_dir)/content/content.gyp:content', + '<(chromium_src_dir)/content/content.gyp:content_app_browser', + '<(chromium_src_dir)/content/content.gyp:content_browser', + '<(chromium_src_dir)/content/content.gyp:content_common', + '<(chromium_src_dir)/content/content.gyp:content_gpu', + '<(chromium_src_dir)/content/content.gyp:content_renderer', + '<(chromium_src_dir)/content/content.gyp:content_utility', + '<(chromium_src_dir)/content/content.gyp:content_worker', + '<(chromium_src_dir)/content/content_resources.gyp:content_resources', + '<(chromium_src_dir)/base/base.gyp:base', + '<(chromium_src_dir)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', + '<(chromium_src_dir)/ipc/ipc.gyp:ipc', + '<(chromium_src_dir)/media/media.gyp:media', + '<(chromium_src_dir)/net/net.gyp:net', + '<(chromium_src_dir)/net/net.gyp:net_resources', + '<(chromium_src_dir)/skia/skia.gyp:skia', + '<(chromium_src_dir)/ui/gl/gl.gyp:gl', + '<(chromium_src_dir)/ui/ui.gyp:ui', + '<(chromium_src_dir)/url/url.gyp:url_lib', + '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8', + '<(chromium_src_dir)/webkit/webkit_resources.gyp:webkit_resources', + '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support', + '<(chromium_src_dir)/third_party/WebKit/Source/web/web.gyp:webkit', + ], + 'include_dirs': [ + '<(qtwebengine_src_dir)', + '<(chromium_src_dir)', + ], + # Chromium code defines those in common.gypi, do the same for our code that include Chromium headers. + 'defines': [ + '__STDC_CONSTANT_MACROS', + '__STDC_FORMAT_MACROS', + ], + 'msvs_settings': { + 'VCLinkerTool': { + 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS + }, + }, + 'conditions': [ + ['OS=="win" and win_use_allocator_shim==1', { + 'dependencies': [ + '<(chromium_src_dir)/base/allocator/allocator.gyp:allocator', + ], + }], + ['OS=="win"', { + 'resource_include_dirs': [ + '<(SHARED_INTERMEDIATE_DIR)/webkit', + ], + 'dependencies': [ + '<(DEPTH)/webkit/webkit_resources.gyp:webkit_strings', + ], + 'configurations': { + 'Debug_Base': { + 'msvs_settings': { + 'VCLinkerTool': { + 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', + }, + }, + }, + }, +# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. + 'msvs_disabled_warnings': [ 4267, ], + }], # OS=="win" + ['OS=="linux"', { + 'dependencies': [ + '<(chromium_src_dir)/build/linux/system.gyp:fontconfig', + ], + }], + ['os_posix==1 and linux_use_tcmalloc==1', { + 'dependencies': [ +# This is needed by content/app/content_main_runner.cc + '<(chromium_src_dir)/base/allocator/allocator.gyp:allocator', + ], + }], + ['use_aura==1', { + 'dependencies': [ + '<(chromium_src_dir)/ui/aura/aura.gyp:aura', + '<(chromium_src_dir)/ui/base/strings/ui_strings.gyp:ui_strings', + '<(chromium_src_dir)/ui/views/controls/webview/webview.gyp:webview', + '<(chromium_src_dir)/ui/views/views.gyp:views', + '<(chromium_src_dir)/ui/ui.gyp:ui_resources', + ], + }], # use_aura==1 + ['use_custom_freetype==1', { + 'dependencies': [ + '<(chromium_src_dir)/third_party/freetype2/freetype2.gyp:freetype2', + ], + }], + ], +} |