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',
59 'target_name': 'host_forwarder',
63 '../../../base/base.gyp:base',
64 '../../../build/linux/system.gyp:x11',
65 '../common/common.gyp:android_tools_common',
76 'host_forwarder_main.cc',
79 # TODO(pliard): Remove this and x11 dependency above. This is needed
80 # to avoid undefined references at link time.
81 '../../../base/message_loop/message_pump_glib.cc',
82 '../../../base/message_loop/message_pump_gtk.cc',