Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Side by Side Diff: tools/android/forwarder2/forwarder.gyp

Issue 684133002: [Android] Fix gn build for instrumentation tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Follow review Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/android/forwarder2/forwarder.cc ('k') | tools/android/forwarder2/forwarders_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'variables': {
7 'chromium_code': 1,
8 },
6 'targets': [ 9 'targets': [
7 { 10 {
11 # GN version: //tools/android/forwarder2
8 'target_name': 'forwarder2', 12 'target_name': 'forwarder2',
9 'type': 'none', 13 'type': 'none',
10 'dependencies': [ 14 'dependencies': [
11 'device_forwarder', 15 'device_forwarder',
12 'host_forwarder#host', 16 'host_forwarder#host',
13 ], 17 ],
14 # For the component build, ensure dependent shared libraries are stripped 18 # For the component build, ensure dependent shared libraries are stripped
15 # and put alongside forwarder to simplify pushing to the device. 19 # and put alongside forwarder to simplify pushing to the device.
16 'variables': { 20 'variables': {
17 'output_dir': '<(PRODUCT_DIR)/forwarder_dist/', 21 'output_dir': '<(PRODUCT_DIR)/forwarder_dist/',
18 'native_binary': '<(PRODUCT_DIR)/device_forwarder', 22 'native_binary': '<(PRODUCT_DIR)/device_forwarder',
19 }, 23 },
20 'includes': ['../../../build/android/native_app_dependencies.gypi'], 24 'includes': ['../../../build/android/native_app_dependencies.gypi'],
21 }, 25 },
22 { 26 {
27 # GN version: //tools/android/forwarder2:device_forwarder
23 'target_name': 'device_forwarder', 28 'target_name': 'device_forwarder',
24 'type': 'executable', 29 'type': 'executable',
25 'toolsets': ['target'], 30 'toolsets': ['target'],
26 'dependencies': [ 31 'dependencies': [
27 '../../../base/base.gyp:base', 32 '../../../base/base.gyp:base',
28 '../../../build/android/pylib/device/commands/commands.gyp:chromium_comm ands', 33 '../../../build/android/pylib/device/commands/commands.gyp:chromium_comm ands',
29 '../common/common.gyp:android_tools_common', 34 '../common/common.gyp:android_tools_common',
30 ], 35 ],
31 'include_dirs': [ 36 'include_dirs': [
32 '../../..', 37 '../../..',
33 ], 38 ],
34 'sources': [ 39 'sources': [
35 'command.cc', 40 'command.cc',
36 'common.cc', 41 'common.cc',
37 'daemon.cc', 42 'daemon.cc',
38 'device_controller.cc', 43 'device_controller.cc',
39 'device_forwarder_main.cc', 44 'device_forwarder_main.cc',
40 'device_listener.cc', 45 'device_listener.cc',
41 'forwarder.cc', 46 'forwarder.cc',
42 'forwarders_manager.cc', 47 'forwarders_manager.cc',
43 'pipe_notifier.cc', 48 'pipe_notifier.cc',
44 'socket.cc', 49 'socket.cc',
45 ], 50 ],
46 }, 51 },
47 { 52 {
53 # GN version: //tools/android/forwarder2:host_forwarder
48 'target_name': 'host_forwarder', 54 'target_name': 'host_forwarder',
49 'type': 'executable', 55 'type': 'executable',
50 'toolsets': ['host'], 56 'toolsets': ['host'],
51 'dependencies': [ 57 'dependencies': [
52 '../../../base/base.gyp:base', 58 '../../../base/base.gyp:base',
53 '../common/common.gyp:android_tools_common', 59 '../common/common.gyp:android_tools_common',
54 ], 60 ],
55 'include_dirs': [ 61 'include_dirs': [
56 '../../..', 62 '../../..',
57 ], 63 ],
58 'sources': [ 64 'sources': [
59 'command.cc', 65 'command.cc',
60 'common.cc', 66 'common.cc',
61 'daemon.cc', 67 'daemon.cc',
62 'forwarder.cc', 68 'forwarder.cc',
63 'forwarders_manager.cc', 69 'forwarders_manager.cc',
64 'host_controller.cc', 70 'host_controller.cc',
65 'host_forwarder_main.cc', 71 'host_forwarder_main.cc',
66 'pipe_notifier.cc', 72 'pipe_notifier.cc',
67 'socket.cc', 73 'socket.cc',
68 ], 74 ],
69 }, 75 },
70 ], 76 ],
71 } 77 }
OLDNEW
« no previous file with comments | « tools/android/forwarder2/forwarder.cc ('k') | tools/android/forwarder2/forwarders_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698