| 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': [ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 'target_name': 'device_forwarder', | 23 'target_name': 'device_forwarder', |
| 24 'type': 'executable', | 24 'type': 'executable', |
| 25 'toolsets': ['target'], | 25 'toolsets': ['target'], |
| 26 'dependencies': [ | 26 'dependencies': [ |
| 27 '../../../base/base.gyp:base', | 27 '../../../base/base.gyp:base', |
| 28 '../common/common.gyp:android_tools_common', | 28 '../common/common.gyp:android_tools_common', |
| 29 ], | 29 ], |
| 30 'include_dirs': [ | 30 'include_dirs': [ |
| 31 '../../..', | 31 '../../..', |
| 32 ], | 32 ], |
| 33 'conditions': [ | |
| 34 # Warning: A PIE tool cannot run on ICS 4.0.4, so only | |
| 35 # build it as position-independent when ASAN | |
| 36 # is activated. See b/6587214 for details. | |
| 37 [ 'asan==1', { | |
| 38 'cflags': [ | |
| 39 '-fPIE', | |
| 40 ], | |
| 41 'ldflags': [ | |
| 42 '-pie', | |
| 43 ], | |
| 44 }], | |
| 45 ], | |
| 46 'sources': [ | 33 'sources': [ |
| 47 'command.cc', | 34 'command.cc', |
| 48 'common.cc', | 35 'common.cc', |
| 49 'daemon.cc', | 36 'daemon.cc', |
| 50 'device_controller.cc', | 37 'device_controller.cc', |
| 51 'device_forwarder_main.cc', | 38 'device_forwarder_main.cc', |
| 52 'device_listener.cc', | 39 'device_listener.cc', |
| 53 'forwarder.cc', | 40 'forwarder.cc', |
| 54 'forwarders_manager.cc', | 41 'forwarders_manager.cc', |
| 55 'pipe_notifier.cc', | 42 'pipe_notifier.cc', |
| (...skipping 18 matching lines...) Expand all Loading... |
| 74 'forwarder.cc', | 61 'forwarder.cc', |
| 75 'forwarders_manager.cc', | 62 'forwarders_manager.cc', |
| 76 'host_controller.cc', | 63 'host_controller.cc', |
| 77 'host_forwarder_main.cc', | 64 'host_forwarder_main.cc', |
| 78 'pipe_notifier.cc', | 65 'pipe_notifier.cc', |
| 79 'socket.cc', | 66 'socket.cc', |
| 80 ], | 67 ], |
| 81 }, | 68 }, |
| 82 ], | 69 ], |
| 83 } | 70 } |
| OLD | NEW |