OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # GYP: //tools/android/forwarder2/forwarder.gyp:forwarder2 | 5 # GYP: //tools/android/forwarder2/forwarder.gyp:forwarder2 |
6 group("forwarder2") { | 6 group("forwarder2") { |
7 datadeps = [ | 7 datadeps = [ |
8 ":host_forwarder($host_toolchain)", | 8 ":host_forwarder($host_toolchain)", |
9 ":host_forwarder_copy($host_toolchain)", | 9 ":host_forwarder_copy($host_toolchain)", |
10 ":device_forwarder($default_toolchain)", | 10 ":device_forwarder($default_toolchain)", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 ] | 46 ] |
47 datadeps = [ | 47 datadeps = [ |
48 "//build/android/pylib/device/commands", | 48 "//build/android/pylib/device/commands", |
49 ] | 49 ] |
50 } | 50 } |
51 | 51 |
52 # GYP: //tools/android/forwarder2/forwarder.gyp:forwarder2 | 52 # GYP: //tools/android/forwarder2/forwarder.gyp:forwarder2 |
53 create_native_executable_dist("device_forwarder_prepare_dist") { | 53 create_native_executable_dist("device_forwarder_prepare_dist") { |
54 dist_dir = "$root_build_dir/forwarder_dist" | 54 dist_dir = "$root_build_dir/forwarder_dist" |
55 binary = "$root_build_dir/exe.stripped/device_forwarder" | 55 binary = "$root_build_dir/exe.stripped/device_forwarder" |
| 56 deps = [ |
| 57 ":device_forwarder", |
| 58 ] |
56 } | 59 } |
57 } | 60 } |
58 | 61 |
59 if (current_toolchain != default_toolchain) { | 62 if (current_toolchain != default_toolchain) { |
60 # GYP: //tools/android/forwarder2/forwarder.gyp:host_forwarder | 63 # GYP: //tools/android/forwarder2/forwarder.gyp:host_forwarder |
61 executable("host_forwarder") { | 64 executable("host_forwarder") { |
62 sources = [ | 65 sources = [ |
63 "command.cc", | 66 "command.cc", |
64 "command.h", | 67 "command.h", |
65 "common.cc", | 68 "common.cc", |
(...skipping 21 matching lines...) Expand all Loading... |
87 } | 90 } |
88 | 91 |
89 # GYP: //tools/android/forwarder2/forwarder.gyp:forwarder2 | 92 # GYP: //tools/android/forwarder2/forwarder.gyp:forwarder2 |
90 copy("host_forwarder_copy") { | 93 copy("host_forwarder_copy") { |
91 sources = [ | 94 sources = [ |
92 "$root_out_dir/host_forwarder", | 95 "$root_out_dir/host_forwarder", |
93 ] | 96 ] |
94 outputs = [ | 97 outputs = [ |
95 "$root_build_dir/host_forwarder", | 98 "$root_build_dir/host_forwarder", |
96 ] | 99 ] |
| 100 deps = [ |
| 101 ":host_forwarder", |
| 102 ] |
97 } | 103 } |
98 } | 104 } |
OLD | NEW |