• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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': ['common.gypi',],
11  'variables': {
12    'merge_libs_dependencies': [
13    ],
14  },
15  'targets': [
16    {
17      'target_name': 'no_op',
18      'type': 'executable',
19      'dependencies': [
20        '<@(merge_libs_dependencies)',
21        '../webrtc.gyp:webrtc',
22        '../sound/sound.gyp:rtc_sound',
23        '../libjingle/xmllite/xmllite.gyp:rtc_xmllite',
24        '../libjingle/xmpp/xmpp.gyp:rtc_xmpp',
25        '../p2p/p2p.gyp:rtc_p2p',
26      ],
27      'sources': ['no_op.cc',],
28    },
29    {
30      'target_name': 'merged_lib',
31      'type': 'none',
32      'dependencies': [
33        'no_op',
34      ],
35      'actions': [
36        {
37          'variables': {
38            'output_lib_name': 'webrtc_merged',
39            'output_lib': '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)<(output_lib_name)<(STATIC_LIB_SUFFIX)',
40          },
41          'action_name': 'merge_libs',
42          'inputs': ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)no_op<(EXECUTABLE_SUFFIX)'],
43          'outputs': ['<(output_lib)'],
44          'action': ['python',
45                     'merge_libs.py',
46                     '<(PRODUCT_DIR)',
47                     '<(output_lib)',],
48        },
49      ],
50    },
51  ],
52}
53