From 5a94bc9ae151f24cf3eaf7f378bbc9c227f01208 Mon Sep 17 00:00:00 2001 From: Zeno Albisser Date: Fri, 14 Feb 2014 13:55:01 +0100 Subject: Add qt_os embedded_linux for platform specific configuration. Change-Id: I2c7878b0f5a84bc299d6c033a69e1f2f904168f3 Reviewed-by: Jocelyn Turcotte Reviewed-by: Andras Becsi --- src/core/qtwebengine.gypi | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'src/core/qtwebengine.gypi') diff --git a/src/core/qtwebengine.gypi b/src/core/qtwebengine.gypi index 801b8926d..0e1ab52b2 100644 --- a/src/core/qtwebengine.gypi +++ b/src/core/qtwebengine.gypi @@ -46,7 +46,17 @@ '<(chromium_src_dir)/base/allocator/allocator.gyp:allocator', ], }], - ['_toolset=="target" and qt_os=="android"', { + # android and embedded_linux need some special flags. + ['qt_os=="embedded_linux" or qt_os=="android"', { + 'conditions': [ + ['qt_os=="android"', { + 'dependencies': [ + '<(chromium_src_dir)/third_party/ashmem/ashmem.gyp:ashmem', + '<(chromium_src_dir)/third_party/freetype/freetype.gyp:ft2', + '<(chromium_src_dir)/third_party/android_tools/ndk/android_tools_ndk.gyp:cpu_features', + ], + }], + ], 'configurations': { 'Debug_Base': { # Reduce the binary size. @@ -68,11 +78,6 @@ ], }, }, - 'dependencies': [ - '<(chromium_src_dir)/third_party/ashmem/ashmem.gyp:ashmem', - '<(chromium_src_dir)/third_party/freetype/freetype.gyp:ft2', - '<(chromium_src_dir)/third_party/android_tools/ndk/android_tools_ndk.gyp:cpu_features', - ], }], ['OS=="win"', { 'resource_include_dirs': [ -- cgit v1.2.3