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