From a1cf58f811a6068aebfa9e2df4b456f62514435b Mon Sep 17 00:00:00 2001 From: Adam Roben Date: Mon, 7 Jul 2014 13:53:02 -0400 Subject: [PATCH] Link against chromiumviews This is needed for InspectableWebContentsViewWin. --- brightray/brightray.gyp | 1 + brightray/brightray.gypi | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/brightray/brightray.gyp b/brightray/brightray.gyp index 3f52db663c..d7ae15b9ff 100644 --- a/brightray/brightray.gyp +++ b/brightray/brightray.gyp @@ -117,6 +117,7 @@ 'link_settings': { 'libraries': [ '<(brightray_source_root)/<(libchromiumcontent_library_dir)/base_static.lib', + '<(brightray_source_root)/<(libchromiumcontent_library_dir)/chromiumviews.lib', '<(brightray_source_root)/<(libchromiumcontent_library_dir)/chromiumcontent.dll.lib', '<(brightray_source_root)/<(libchromiumcontent_library_dir)/sandbox_static.lib', ], diff --git a/brightray/brightray.gypi b/brightray/brightray.gypi index 7edb5f9dbd..b73a7ea076 100644 --- a/brightray/brightray.gypi +++ b/brightray/brightray.gypi @@ -72,6 +72,9 @@ 'VCLinkerTool': { 'AdditionalDependencies': [ 'advapi32.lib', + 'dwmapi.lib', + 'gdi32.lib', + 'oleacc.lib', 'user32.lib', ], }, @@ -80,6 +83,8 @@ ['OS=="win"', { 'defines': [ 'USE_AURA', + 'VIEWS_IMPLEMENTATION', + 'WEBVIEW_IMPLEMENTATION', ], }], ['OS not in ["mac", "win"]', {