From f59fc6043d618b5817baf4c9ec6173fbc5bb77c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Piotr=20Szawdy=C5=84ski?= Date: Mon, 4 May 2015 17:28:43 +0200 Subject: [PATCH] Added macro support OS(TIZEN), OS(TIZEN_MOBILE) and OS(TIZEN_TV) for WebKit. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 1) This patch allows to replace statement #if defined(OS_TIZEN_MOBILE) with statement #if OS(TIZEN_MOBILE). Usage of OS macro is required because buildbot has presubmit check which dissalow to commit patch which contains macro which matches to pattern OS_*. 2) Added dependency to library capi-system-system-settings. Library 'capi-system-system-settings' is used by WebKit project for Tizen build (WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp). Currently OS(TIZEN) macro was not working and after fixing macro issue project won't compile, so we need to fix also dependency. Reviewed by: Antonio Gomes, Piotr Szawdyński, SeungSeop Park, Tomasz Czekala Change-Id: I36694bce7090a02e53982c3d936dc4a997377470 Signed-off-by: Piotr Szawdyński Signed-off-by: Piotr Tworek --- tizen_src/build/system.gyp | 21 +++++++++++++++++++++ tizen_src/chromium_impl/content/content_efl.gypi | 1 + tizen_src/packaging/chromium-efl.spec | 1 + tizen_src/supplement.gypi | 3 +++ 4 files changed, 26 insertions(+) diff --git a/tizen_src/build/system.gyp b/tizen_src/build/system.gyp index 16e5e3e..40a8c7c 100644 --- a/tizen_src/build/system.gyp +++ b/tizen_src/build/system.gyp @@ -301,6 +301,27 @@ ], }, # capi-system-sensor { + 'target_name': 'capi-system-system-settings', + 'type': 'none', + 'conditions': [ + ['building_for_tizen==1', { + 'direct_dependent_settings': { + 'cflags': [ + '