diff --git a/brightray/brightray.gyp b/brightray/brightray.gyp index f59e86c588e7..4875710029d0 100644 --- a/brightray/brightray.gyp +++ b/brightray/brightray.gyp @@ -82,6 +82,7 @@ ['libchromiumcontent_component', { 'link_settings': { 'libraries': [ + '<(libchromiumcontent_dir)/libui_zoom.a', # libgtk2ui is always linked statically. '<(libchromiumcontent_dir)/libgtk2ui.a', ], @@ -113,7 +114,13 @@ }, 'conditions': [ # Link with system frameworks. - ['libchromiumcontent_component==0', { + ['libchromiumcontent_component', { + 'link_settings': { + 'libraries': [ + '<(libchromiumcontent_dir)/libui_zoom.a', + ], + }, + }, { 'link_settings': { 'libraries': [ # ui_base.gypi: @@ -152,9 +159,10 @@ ['OS=="win"', { 'conditions': [ ['libchromiumcontent_component', { - # sandbox and base_static are always linked statically. 'link_settings': { 'libraries': [ + '<(libchromiumcontent_dir)/ui_zoom.lib', + # sandbox and base_static are always linked statically. '<(libchromiumcontent_dir)/base_static.lib', '<(libchromiumcontent_dir)/sandbox.lib', ],