From 0bb5eb803781a9d6a086349a8d6e3a779576af4b Mon Sep 17 00:00:00 2001 From: "min7.choi" Date: Wed, 10 Jan 2018 16:45:50 +0900 Subject: [PATCH] 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 --- tizen/build/common.gypi | 4 ---- tizen/common/common.gyp | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/tizen/build/common.gypi b/tizen/build/common.gypi index 0bb2245..587a0ad 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 9ea448b..25d27a8 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', -- 2.7.4