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>
'build_type%': '<(build_type)',
},
'conditions': [
- ['is_tizen==1', {
- 'cflags': [ '-fPIC' ],
- 'cflags_cc': [ '-fPIC']
- }],
['build_type== "Debug"', {
'defines': ['_DEBUG', 'TIZEN_DEBUG_ENABLE', ],
'cflags': [ '-O0', '-g', ],
],
'targets': [
{
- 'target_name': 'xwalk_tizen_common',
- 'type': 'shared_library',
+ 'target_name': 'wrt_common',
+ 'type': 'static_library',
'sources': [
'command_line.h',
'command_line.cc',