| OLD | NEW |
| 1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 { | 9 { |
| 10 'includes': ['common.gypi',], | 10 'includes': ['common.gypi',], |
| 11 'variables': { | 11 'variables': { |
| 12 'merge_libs_dependencies': [ | 12 'merge_libs_dependencies': [ |
| 13 ], | 13 ], |
| 14 }, | 14 }, |
| 15 'targets': [ | 15 'targets': [ |
| 16 { | 16 { |
| 17 'target_name': 'no_op', | 17 'target_name': 'no_op', |
| 18 'type': 'executable', | 18 'type': 'executable', |
| 19 'dependencies': [ | 19 'dependencies': [ |
| 20 '<@(merge_libs_dependencies)', | 20 '<@(merge_libs_dependencies)', |
| 21 '../webrtc.gyp:webrtc', | 21 '../webrtc.gyp:webrtc', |
| 22 '../libjingle/xmllite/xmllite.gyp:rtc_xmllite', | |
| 23 '../libjingle/xmpp/xmpp.gyp:rtc_xmpp', | |
| 24 '../p2p/p2p.gyp:rtc_p2p', | 22 '../p2p/p2p.gyp:rtc_p2p', |
| 25 ], | 23 ], |
| 26 'sources': ['no_op.cc',], | 24 'sources': ['no_op.cc',], |
| 27 }, | 25 }, |
| 28 { | 26 { |
| 29 'target_name': 'merged_lib', | 27 'target_name': 'merged_lib', |
| 30 'type': 'none', | 28 'type': 'none', |
| 31 'dependencies': [ | 29 'dependencies': [ |
| 32 'no_op', | 30 'no_op', |
| 33 ], | 31 ], |
| 34 'actions': [ | 32 'actions': [ |
| 35 { | 33 { |
| 36 'variables': { | 34 'variables': { |
| 37 'output_lib_name': 'webrtc_merged', | 35 'output_lib_name': 'webrtc_merged', |
| 38 'output_lib': '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)<(output_lib_name)
<(STATIC_LIB_SUFFIX)', | 36 'output_lib': '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)<(output_lib_name)
<(STATIC_LIB_SUFFIX)', |
| 39 }, | 37 }, |
| 40 'action_name': 'merge_libs', | 38 'action_name': 'merge_libs', |
| 41 'inputs': ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)no_op<(EXECUTABLE_SUFFI
X)'], | 39 'inputs': ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)no_op<(EXECUTABLE_SUFFI
X)'], |
| 42 'outputs': ['<(output_lib)'], | 40 'outputs': ['<(output_lib)'], |
| 43 'action': ['python', | 41 'action': ['python', |
| 44 'merge_libs.py', | 42 'merge_libs.py', |
| 45 '<(PRODUCT_DIR)', | 43 '<(PRODUCT_DIR)', |
| 46 '<(output_lib)',], | 44 '<(output_lib)',], |
| 47 }, | 45 }, |
| 48 ], | 46 ], |
| 49 }, | 47 }, |
| 50 ], | 48 ], |
| 51 } | 49 } |
| OLD | NEW |