andrew@webrtc.org | 19eefdc | 2011-09-14 17:02:44 +0000 | [diff] [blame] | 1 | # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license |
| 4 | # that can be found in the LICENSE file in the root of the source |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
| 8 | |
| 9 | # TODO(andrew): consider moving test_support to src/base/test. |
| 10 | { |
| 11 | 'includes': [ |
| 12 | '../src/build/common.gypi', |
| 13 | ], |
| 14 | 'targets': [ |
| 15 | { |
| 16 | 'target_name': 'test_support', |
| 17 | 'type': 'static_library', |
| 18 | 'dependencies': [ |
kjellander@webrtc.org | 7951e81 | 2011-10-13 12:24:41 +0000 | [diff] [blame^] | 19 | '<(webrtc_root)/../testing/gtest.gyp:gtest', |
andrew@webrtc.org | 19eefdc | 2011-09-14 17:02:44 +0000 | [diff] [blame] | 20 | ], |
kjellander@webrtc.org | 7951e81 | 2011-10-13 12:24:41 +0000 | [diff] [blame^] | 21 | 'direct_dependent_settings': { |
| 22 | 'include_dirs': [ |
| 23 | '.', |
| 24 | ], |
| 25 | }, |
andrew@webrtc.org | 19eefdc | 2011-09-14 17:02:44 +0000 | [diff] [blame] | 26 | 'sources': [ |
| 27 | 'test_suite.cc', |
| 28 | 'test_suite.h', |
kjellander@webrtc.org | 7951e81 | 2011-10-13 12:24:41 +0000 | [diff] [blame^] | 29 | 'testsupport/fileutils.h', |
| 30 | 'testsupport/fileutils.cc', |
| 31 | ], |
| 32 | }, |
| 33 | { |
| 34 | 'target_name': 'test_support_unittests', |
| 35 | 'type': 'executable', |
| 36 | 'dependencies': [ |
| 37 | 'test_support', |
| 38 | '<(webrtc_root)/../testing/gtest.gyp:gtest', |
| 39 | ], |
| 40 | 'sources': [ |
| 41 | 'run_all_unittests.cc', |
| 42 | 'testsupport/fileutils_unittest.cc', |
andrew@webrtc.org | 19eefdc | 2011-09-14 17:02:44 +0000 | [diff] [blame] | 43 | ], |
| 44 | }, |
| 45 | ], |
| 46 | } |