Home | History | Annotate | Download | only in test
      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 {
     10   'includes': [
     11     '../build/common.gypi',
     12   ],
     13   'targets': [
     14     {
     15       # The metrics code must be kept in its own GYP file in order to
     16       # avoid a circular dependency error due to the dependency on libyuv.
     17       # If the code would be put in test.gyp a circular dependency error during
     18       # GYP generation would occur, because the libyuv.gypi unittest target
     19       # depends on test_support_main. See issue #160 for more info.
     20       'target_name': 'metrics',
     21       'type': 'static_library',
     22       'dependencies': [
     23         '<(webrtc_root)/common_video/common_video.gyp:common_video',
     24         '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
     25       ],
     26       'sources': [
     27         'testsupport/metrics/video_metrics.h',
     28         'testsupport/metrics/video_metrics.cc',
     29       ],
     30     },
     31   ], # targets
     32 }
     33