2011-10-06 01:03:18 +00:00
|
|
|
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
|
|
{
|
2012-09-15 02:50:52 +00:00
|
|
|
'includes': ['common.gypi',],
|
|
|
|
|
'variables': {
|
|
|
|
|
'merge_libs_dependencies': [
|
|
|
|
|
'../video_engine/video_engine.gyp:video_engine_core',
|
|
|
|
|
],
|
|
|
|
|
},
|
2011-10-06 01:03:18 +00:00
|
|
|
'targets': [
|
2011-12-20 22:07:48 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'no_op',
|
|
|
|
|
'type': 'executable',
|
|
|
|
|
'dependencies': [
|
2012-09-15 02:50:52 +00:00
|
|
|
'<@(merge_libs_dependencies)',
|
2011-12-20 22:07:48 +00:00
|
|
|
],
|
2012-09-15 02:50:52 +00:00
|
|
|
'sources': ['no_op.cc',],
|
2011-12-20 22:07:48 +00:00
|
|
|
},
|
2011-10-06 01:03:18 +00:00
|
|
|
{
|
|
|
|
|
'target_name': 'merged_lib',
|
|
|
|
|
'type': 'none',
|
|
|
|
|
'dependencies': [
|
2011-12-20 22:07:48 +00:00
|
|
|
'no_op',
|
2011-10-06 01:03:18 +00:00
|
|
|
],
|
|
|
|
|
'actions': [
|
|
|
|
|
{
|
|
|
|
|
'variables': {
|
|
|
|
|
'output_lib_name': 'webrtc',
|
2012-05-22 08:32:20 +00:00
|
|
|
'output_lib': '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)<(output_lib_name)<(STATIC_LIB_SUFFIX)',
|
2011-10-06 01:03:18 +00:00
|
|
|
},
|
|
|
|
|
'action_name': 'merge_libs',
|
2011-12-20 22:07:48 +00:00
|
|
|
'inputs': ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)no_op<(EXECUTABLE_SUFFIX)'],
|
2011-10-06 01:03:18 +00:00
|
|
|
'outputs': ['<(output_lib)'],
|
|
|
|
|
'action': ['python',
|
|
|
|
|
'merge_libs.py',
|
|
|
|
|
'<(PRODUCT_DIR)',
|
2012-01-20 01:32:16 +00:00
|
|
|
'<(output_lib)',],
|
2011-10-06 01:03:18 +00:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}
|