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 'targets': [ | |
7 { | |
8 'target_name': 'forwarder2', | |
9 'type': 'none', | |
10 'dependencies': [ | |
11 'device_forwarder', | |
12 'host_forwarder#host', | |
13 ], | |
14 }, | |
15 { | |
16 'target_name': 'device_forwarder', | |
bulach
2012/09/07 14:31:32
nit: would this work, similar to 46?
'toolsets':
felipeg
2012/09/07 14:40:53
Done.
| |
17 'type': 'executable', | |
18 'dependencies': [ | |
19 '../../../base/base.gyp:base', | |
20 '../common/common.gyp:android_tools_common', | |
21 ], | |
22 'include_dirs': [ | |
23 '../../..', | |
24 ], | |
25 'conditions': [ | |
26 # Warning: A PIE tool cannot run on ICS 4.0.4, so only | |
27 # build it as position-independent when ASAN | |
28 # is activated. See b/6587214 for details. | |
29 [ 'asan==1', { | |
30 'cflags': [ | |
31 '-fPIE', | |
32 ], | |
33 'ldflags': [ | |
34 '-pie', | |
35 ], | |
36 }], | |
37 ], | |
38 'sources': [ | |
39 'device_forwarder_main.cc', | |
40 'socket.cc', | |
41 ], | |
42 }, | |
43 { | |
44 'target_name': 'host_forwarder', | |
45 'type': 'executable', | |
46 'toolsets': ['host'], | |
47 'dependencies': [ | |
48 '../../../base/base.gyp:base', | |
49 '../common/common.gyp:android_tools_common', | |
50 ], | |
51 'include_dirs': [ | |
52 '../../..', | |
53 ], | |
54 'sources': [ | |
55 'host_forwarder_main.cc', | |
56 'socket.cc', | |
57 ], | |
58 }, | |
59 ], | |
60 } | |
OLD | NEW |