OLD | NEW |
| (Empty) |
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 { | |
10 'includes': ['common.gypi',], | |
11 'variables': { | |
12 'merge_libs_dependencies': [ | |
13 ], | |
14 }, | |
15 'targets': [ | |
16 { | |
17 'target_name': 'no_op', | |
18 'type': 'executable', | |
19 'dependencies': [ | |
20 '<@(merge_libs_dependencies)', | |
21 '../webrtc.gyp:webrtc', | |
22 '../p2p/p2p.gyp:rtc_p2p', | |
23 ], | |
24 'sources': ['no_op.cc',], | |
25 }, | |
26 { | |
27 'target_name': 'merged_lib', | |
28 'type': 'none', | |
29 'dependencies': [ | |
30 'no_op', | |
31 ], | |
32 'actions': [ | |
33 { | |
34 'variables': { | |
35 'output_lib_name': 'webrtc_merged', | |
36 'output_lib': '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)<(output_lib_name)
<(STATIC_LIB_SUFFIX)', | |
37 }, | |
38 'action_name': 'merge_libs', | |
39 'inputs': ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)no_op<(EXECUTABLE_SUFFI
X)'], | |
40 'outputs': ['<(output_lib)'], | |
41 'action': ['python', | |
42 'merge_libs.py', | |
43 '<(PRODUCT_DIR)', | |
44 '<(output_lib)',], | |
45 }, | |
46 ], | |
47 }, | |
48 ], | |
49 } | |
OLD | NEW |