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.
8 'target_name': 'forwarder2',
12 'host_forwarder#host',
14 # For the component build, ensure dependent shared libraries are stripped
15 # and put alongside forwarder to simplify pushing to the device.
17 'output_dir': '<(PRODUCT_DIR)/forwarder_dist/',
18 'native_binary': '<(PRODUCT_DIR)/device_forwarder',
20 'includes': ['../../../build/android/native_app_dependencies.gypi'],
23 'target_name': 'device_forwarder',
25 'toolsets': ['target'],
27 '../../../base/base.gyp:base',
28 '../common/common.gyp:android_tools_common',
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.
50 'device_controller.cc',
51 'device_forwarder_main.cc',
54 'forwarders_manager.cc',
60 'target_name': 'host_forwarder',
64 '../../../base/base.gyp:base',
65 '../common/common.gyp:android_tools_common',
75 'forwarders_manager.cc',
77 'host_forwarder_main.cc',
80 # TODO(pliard): Remove this. This is needed to avoid undefined
81 # references at link time.
82 '../../../base/message_loop/message_pump_glib.cc',
83 '../../../base/message_loop/message_pump_gtk.cc',