fixup! [Tizen] Initial migration of Common component from xwalk 32/166432/3
authormin7.choi <min7.choi@samsung.com>
Wed, 10 Jan 2018 07:45:50 +0000 (16:45 +0900)
committermin7.choi <min7.choi@samsung.com>
Wed, 10 Jan 2018 09:11:24 +0000 (18:11 +0900)
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 <min7.choi@samsung.com>
tizen/build/common.gypi
tizen/common/common.gyp

index 0bb2245..587a0ad 100644 (file)
@@ -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', ],
index 9ea448b..25d27a8 100644 (file)
@@ -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',