From 8706256eacb49809e1ebbe68dfca8bb8c4bd0d7c Mon Sep 17 00:00:00 2001 From: "xians@google.com" Date: Mon, 8 Aug 2011 12:08:15 +0000 Subject: [PATCH] exclude the test target from building with chromiurm. Review URL: http://webrtc-codereview.appspot.com/89016 git-svn-id: http://webrtc.googlecode.com/svn/trunk@323 4adac7df-926f-26a2-2b94-8c16560cd09d --- .../source/system_wrappers.gyp | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) 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: