Link with a few more static libraries on Linux and OS X

This commit is contained in:
Cheng Zhao 2015-08-11 10:39:40 +08:00
parent 3deb8297e1
commit edda9d0488

View file

@ -82,8 +82,11 @@
['libchromiumcontent_component', {
'link_settings': {
'libraries': [
# libgtk2ui is always linked statically.
# Following libraries are always linked statically.
'<(libchromiumcontent_dir)/libgtk2ui.a',
'<(libchromiumcontent_dir)/libdevtools_discovery.a',
'<(libchromiumcontent_dir)/libdevtools_http_handler.a',
'<(libchromiumcontent_dir)/libhttp_server.a',
],
},
}, {
@ -112,10 +115,19 @@
],
},
'conditions': [
# Link with system frameworks.
['libchromiumcontent_component==0', {
['libchromiumcontent_component', {
'link_settings': {
'libraries': [
# Following libraries are always linked statically.
'<(libchromiumcontent_dir)/libdevtools_discovery.a',
'<(libchromiumcontent_dir)/libdevtools_http_handler.a',
'<(libchromiumcontent_dir)/libhttp_server.a',
],
},
}, {
'link_settings': {
'libraries': [
# Link with system frameworks.
# ui_base.gypi:
'$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
# net.gypi: