Home | History | Annotate | Download | only in build
      1 # Copyright (c) 2012 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   'targets': [
     12     {
     13       'target_name': 'no_op',
     14       'type': 'executable',
     15       'dependencies': [
     16         '../voice_engine/voice_engine.gyp:voice_engine',
     17       ],
     18       'sources': [ 'no_op.cc', ],
     19     },
     20     {
     21       'target_name': 'merge_voice_libs',
     22       'type': 'none',
     23       'dependencies': [
     24         'no_op',
     25       ],
     26       'actions': [
     27         {
     28           'variables': {
     29             'output_lib_name': 'webrtc_voice',
     30             'output_lib': '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)<(output_lib_name)<(STATIC_LIB_SUFFIX)',
     31           },
     32           'action_name': 'merge_libs',
     33           'inputs': ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)no_op<(EXECUTABLE_SUFFIX)'],
     34           'outputs': ['<(output_lib)'],
     35           'action': ['python',
     36                      'merge_libs.py',
     37                      '<(PRODUCT_DIR)',
     38                      '<(output_lib)',],
     39         },
     40       ],
     41     },
     42   ],
     43 }
     44