From 0dffa0f4bb166b5bb854722d9b60b580bbd1b10c Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 6 Apr 2015 14:26:06 +0800 Subject: [PATCH] win: Copy necessary shared libraries --- atom.gyp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/atom.gyp b/atom.gyp index 3e152660a675..73c13b5dcb49 100644 --- a/atom.gyp +++ b/atom.gyp @@ -122,8 +122,18 @@ ['OS=="win"', { 'copies': [ { + 'variables': { + 'conditions': [ + ['libchromiumcontent_component', { + 'copied_libraries': '<(libchromiumcontent_shared_libraries)', + }, { + 'copied_libraries': [], + }], + ], + }, 'destination': '<(PRODUCT_DIR)', 'files': [ + '<@(copied_libraries)', '<(libchromiumcontent_dir)/ffmpegsumo.dll', '<(libchromiumcontent_dir)/libEGL.dll', '<(libchromiumcontent_dir)/libGLESv2.dll',