diff --git a/src/system_wrappers/source/system_wrappers.gyp b/src/system_wrappers/source/system_wrappers.gyp index 8a912f569..3bb5bf64b 100644 --- a/src/system_wrappers/source/system_wrappers.gyp +++ b/src/system_wrappers/source/system_wrappers.gyp @@ -116,17 +116,23 @@ }], ] # conditions }, - { - 'target_name': 'system_wrappersTest', - 'type': 'executable', - 'dependencies': [ - 'system_wrappers' - ], - 'sources': [ - '../test/Test.cpp', - ], - }, ], # targets + 'conditions': [ + ['build_with_chromium==0', { + 'targets': [ + { + 'target_name': 'system_wrappersTest', + 'type': 'executable', + 'dependencies': [ + 'system_wrappers' + ], + 'sources': [ + '../test/Test.cpp', + ], + }, + ], # targets + }], # build_with_chromium + ], # conditions } # Local Variables: