OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'chromium_code': 1, | |
8 }, | |
9 'targets': [ | |
10 { | |
11 # GN version: //tools/android/forwarder2 | |
12 'target_name': 'forwarder2', | |
13 'type': 'none', | |
14 'dependencies': [ | |
15 'device_forwarder', | |
16 'host_forwarder#host', | |
17 ], | |
18 # For the component build, ensure dependent shared libraries are stripped | |
19 # and put alongside forwarder to simplify pushing to the device. | |
20 'variables': { | |
21 'output_dir': '<(PRODUCT_DIR)/forwarder_dist/', | |
22 'native_binary': '<(PRODUCT_DIR)/device_forwarder', | |
23 }, | |
24 'includes': ['../../../build/android/native_app_dependencies.gypi'], | |
25 }, | |
26 { | |
27 # GN version: //tools/android/forwarder2:device_forwarder | |
28 'target_name': 'device_forwarder', | |
29 'type': 'executable', | |
30 'toolsets': ['target'], | |
31 'dependencies': [ | |
32 '../../../base/base.gyp:base', | |
33 '../../../build/android/pylib/device/commands/commands.gyp:chromium_comm
ands', | |
34 '../common/common.gyp:android_tools_common', | |
35 ], | |
36 'include_dirs': [ | |
37 '../../..', | |
38 ], | |
39 'sources': [ | |
40 'command.cc', | |
41 'common.cc', | |
42 'daemon.cc', | |
43 'device_controller.cc', | |
44 'device_forwarder_main.cc', | |
45 'device_listener.cc', | |
46 'forwarder.cc', | |
47 'forwarders_manager.cc', | |
48 'pipe_notifier.cc', | |
49 'socket.cc', | |
50 ], | |
51 }, | |
52 { | |
53 # GN version: //tools/android/forwarder2:host_forwarder | |
54 'target_name': 'host_forwarder', | |
55 'type': 'executable', | |
56 'toolsets': ['host'], | |
57 'dependencies': [ | |
58 '../../../base/base.gyp:base', | |
59 '../common/common.gyp:android_tools_common', | |
60 ], | |
61 'include_dirs': [ | |
62 '../../..', | |
63 ], | |
64 'sources': [ | |
65 'command.cc', | |
66 'common.cc', | |
67 'daemon.cc', | |
68 'forwarder.cc', | |
69 'forwarders_manager.cc', | |
70 'host_controller.cc', | |
71 'host_forwarder_main.cc', | |
72 'pipe_notifier.cc', | |
73 'socket.cc', | |
74 ], | |
75 }, | |
76 ], | |
77 } | |
OLD | NEW |