andrew@webrtc.org | 3ce62fc | 2011-10-06 01:03:18 +0000 | [diff] [blame] | 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 | { |
andrew@webrtc.org | 0be1f23 | 2012-09-15 02:50:52 +0000 | [diff] [blame] | 10 | 'includes': ['common.gypi',], |
| 11 | 'variables': { |
| 12 | 'merge_libs_dependencies': [ |
pbos@webrtc.org | fd0f267 | 2014-01-24 10:43:47 +0000 | [diff] [blame] | 13 | '../webrtc.gyp:webrtc', |
henrike@webrtc.org | 66a3582 | 2014-08-26 22:04:04 +0000 | [diff] [blame] | 14 | '../sound/sound.gyp:rtc_sound', |
henrike@webrtc.org | d72a759 | 2014-09-02 15:41:12 +0000 | [diff] [blame^] | 15 | '../libjingle/xmllite/xmllite.gyp:rtc_xmllite', |
andrew@webrtc.org | 0be1f23 | 2012-09-15 02:50:52 +0000 | [diff] [blame] | 16 | ], |
| 17 | }, |
andrew@webrtc.org | 3ce62fc | 2011-10-06 01:03:18 +0000 | [diff] [blame] | 18 | 'targets': [ |
| 19 | { |
andrew@webrtc.org | e858d13 | 2011-12-20 22:07:48 +0000 | [diff] [blame] | 20 | 'target_name': 'no_op', |
| 21 | 'type': 'executable', |
| 22 | 'dependencies': [ |
andrew@webrtc.org | 0be1f23 | 2012-09-15 02:50:52 +0000 | [diff] [blame] | 23 | '<@(merge_libs_dependencies)', |
andrew@webrtc.org | e858d13 | 2011-12-20 22:07:48 +0000 | [diff] [blame] | 24 | ], |
andrew@webrtc.org | 0be1f23 | 2012-09-15 02:50:52 +0000 | [diff] [blame] | 25 | 'sources': ['no_op.cc',], |
andrew@webrtc.org | e858d13 | 2011-12-20 22:07:48 +0000 | [diff] [blame] | 26 | }, |
| 27 | { |
andrew@webrtc.org | 3ce62fc | 2011-10-06 01:03:18 +0000 | [diff] [blame] | 28 | 'target_name': 'merged_lib', |
| 29 | 'type': 'none', |
andrew@webrtc.org | 3ce62fc | 2011-10-06 01:03:18 +0000 | [diff] [blame] | 30 | 'dependencies': [ |
andrew@webrtc.org | e858d13 | 2011-12-20 22:07:48 +0000 | [diff] [blame] | 31 | 'no_op', |
andrew@webrtc.org | 3ce62fc | 2011-10-06 01:03:18 +0000 | [diff] [blame] | 32 | ], |
| 33 | 'actions': [ |
| 34 | { |
| 35 | 'variables': { |
andrew@webrtc.org | aa1278d | 2014-02-11 18:22:29 +0000 | [diff] [blame] | 36 | 'output_lib_name': 'webrtc_merged', |
mflodman@webrtc.org | 7597a85 | 2012-05-22 08:32:20 +0000 | [diff] [blame] | 37 | 'output_lib': '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)<(output_lib_name)<(STATIC_LIB_SUFFIX)', |
andrew@webrtc.org | 3ce62fc | 2011-10-06 01:03:18 +0000 | [diff] [blame] | 38 | }, |
| 39 | 'action_name': 'merge_libs', |
andrew@webrtc.org | e858d13 | 2011-12-20 22:07:48 +0000 | [diff] [blame] | 40 | 'inputs': ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)no_op<(EXECUTABLE_SUFFIX)'], |
andrew@webrtc.org | 3ce62fc | 2011-10-06 01:03:18 +0000 | [diff] [blame] | 41 | 'outputs': ['<(output_lib)'], |
| 42 | 'action': ['python', |
| 43 | 'merge_libs.py', |
| 44 | '<(PRODUCT_DIR)', |
andrew@webrtc.org | f33dfa8 | 2012-01-20 01:32:16 +0000 | [diff] [blame] | 45 | '<(output_lib)',], |
andrew@webrtc.org | 3ce62fc | 2011-10-06 01:03:18 +0000 | [diff] [blame] | 46 | }, |
| 47 | ], |
| 48 | }, |
| 49 | ], |
| 50 | } |