From: min7.choi Date: Wed, 10 Jan 2018 07:45:50 +0000 (+0900) Subject: fixup! [Tizen] Initial migration of Common component from xwalk X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bb5eb803781a9d6a086349a8d6e3a779576af4b;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git fixup! [Tizen] Initial migration of Common component from xwalk This builds common component as static library as the other third party libraries of electron do. -fPIC is duplicated because it is declared in electron-gyp. Change-Id: I37a6b1f5623fa3e716cd8304e269cf7575279a53 Signed-off-by: min7.choi --- diff --git a/tizen/build/common.gypi b/tizen/build/common.gypi index 0bb22454a..587a0ad71 100644 --- a/tizen/build/common.gypi +++ b/tizen/build/common.gypi @@ -9,10 +9,6 @@ 'build_type%': '<(build_type)', }, 'conditions': [ - ['is_tizen==1', { - 'cflags': [ '-fPIC' ], - 'cflags_cc': [ '-fPIC'] - }], ['build_type== "Debug"', { 'defines': ['_DEBUG', 'TIZEN_DEBUG_ENABLE', ], 'cflags': [ '-O0', '-g', ], diff --git a/tizen/common/common.gyp b/tizen/common/common.gyp index 9ea448b0d..25d27a8e6 100644 --- a/tizen/common/common.gyp +++ b/tizen/common/common.gyp @@ -4,8 +4,8 @@ ], 'targets': [ { - 'target_name': 'xwalk_tizen_common', - 'type': 'shared_library', + 'target_name': 'wrt_common', + 'type': 'static_library', 'sources': [ 'command_line.h', 'command_line.cc',