1 # Copyright (c) 2014 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_voice', 18 'type': 'executable', 19 'dependencies': [ 20 '<@(merge_libs_dependencies)', 21 '../voice_engine/voice_engine.gyp:voice_engine' 22 ], 23 'sources': ['no_op.cc',], 24 }, 25 { 26 'target_name': 'merged_lib_voice', 27 'type': 'none', 28 'dependencies': [ 29 'no_op_voice', 30 ], 31 'actions': [ 32 { 33 'variables': { 34 'output_lib_name': 'rtc_voice_merged', 35 'output_lib': '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)<(output_lib_name)<(STATIC_LIB_SUFFIX)', 36 }, 37 'action_name': 'merge_libs_voice', 38 'inputs': ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)no_op_voice<(EXECUTABLE_SUFFIX)'], 39 'outputs': ['<(output_lib)'], 40 'action': ['python', 41 'merge_libs.py', 42 '<(PRODUCT_DIR)', 43 '<(output_lib)',], 44 }, 45 ], 46 }, 47 ], 48 } 49