OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'forwarder2', | 8 'target_name': 'forwarder2', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies': [ | 10 'dependencies': [ |
11 'device_forwarder', | 11 'device_forwarder', |
12 'host_forwarder#host', | 12 'host_forwarder#host', |
13 ], | 13 ], |
| 14 # For the component build, ensure dependent shared libraries are stripped |
| 15 # and put alongside forwarder to simplify pushing to the device. |
| 16 'variables': { |
| 17 'output_dir': '<(PRODUCT_DIR)/forwarder_dist/', |
| 18 'native_binary': '<(PRODUCT_DIR)/device_forwarder', |
| 19 }, |
| 20 'includes': ['../../../build/android/native_app_dependencies.gypi'], |
14 }, | 21 }, |
15 { | 22 { |
16 'target_name': 'device_forwarder', | 23 'target_name': 'device_forwarder', |
17 'type': 'executable', | 24 'type': 'executable', |
18 'toolsets': ['target'], | 25 'toolsets': ['target'], |
19 'dependencies': [ | 26 'dependencies': [ |
20 '../../../base/base.gyp:base', | 27 '../../../base/base.gyp:base', |
21 '../common/common.gyp:android_tools_common', | 28 '../common/common.gyp:android_tools_common', |
22 ], | 29 ], |
23 'include_dirs': [ | 30 'include_dirs': [ |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 'forwarder.cc', | 74 'forwarder.cc', |
68 'host_controller.cc', | 75 'host_controller.cc', |
69 'host_forwarder_main.cc', | 76 'host_forwarder_main.cc', |
70 'pipe_notifier.cc', | 77 'pipe_notifier.cc', |
71 'socket.cc', | 78 'socket.cc', |
72 'thread.cc', | 79 'thread.cc', |
73 ], | 80 ], |
74 }, | 81 }, |
75 ], | 82 ], |
76 } | 83 } |
OLD | NEW |