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