diff --git a/libyuv.gyp b/libyuv.gyp --- a/libyuv.gyp +++ b/libyuv.gyp @@ -148,6 +148,16 @@ 'sources': [ '<@(libyuv_sources)', ], + # Undo filename_rules.gypi's exclusion of *_win.cc on non-Windows. The + # files are guarded by #if, and rotate_win.cc is used for 32-bit x86 on + # any OS. + 'target_conditions': [ + ['OS != "win"', { + 'sources/': [ + ['include', '_win\\.cc$'], + ], + }], + ], }, { 'target_name': 'libyuv_neon',