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 import("//build/symlink.gni") | 5 import("//build/symlink.gni") |
6 | 6 |
7 # GYP: //tools/android/forwarder2/forwarder.gyp:forwarder2 | 7 # GYP: //tools/android/forwarder2/forwarder.gyp:forwarder2 |
8 group("forwarder2") { | 8 group("forwarder2") { |
9 data_deps = [ | 9 data_deps = [ |
10 ":host_forwarder", | 10 ":host_forwarder", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 ] | 47 ] |
48 data_deps = [ | 48 data_deps = [ |
49 "//build/android/pylib/device/commands", | 49 "//build/android/pylib/device/commands", |
50 ] | 50 ] |
51 } | 51 } |
52 | 52 |
53 # GYP: //tools/android/forwarder2/forwarder.gyp:forwarder2 | 53 # GYP: //tools/android/forwarder2/forwarder.gyp:forwarder2 |
54 create_native_executable_dist("device_forwarder_prepare_dist") { | 54 create_native_executable_dist("device_forwarder_prepare_dist") { |
55 dist_dir = "$root_build_dir/forwarder_dist" | 55 dist_dir = "$root_build_dir/forwarder_dist" |
56 binary = "$root_build_dir/device_forwarder" | 56 binary = "$root_build_dir/device_forwarder" |
57 include_main_binary = true | |
58 deps = [ | 57 deps = [ |
59 ":device_forwarder", | 58 ":device_forwarder", |
60 ] | 59 ] |
61 } | 60 } |
62 } | 61 } |
63 | 62 |
64 if (current_toolchain != default_toolchain) { | 63 if (current_toolchain != default_toolchain) { |
65 # GYP: //tools/android/forwarder2/forwarder.gyp:host_forwarder | 64 # GYP: //tools/android/forwarder2/forwarder.gyp:host_forwarder |
66 executable("host_forwarder") { | 65 executable("host_forwarder") { |
67 sources = [ | 66 sources = [ |
(...skipping 22 matching lines...) Expand all Loading... |
90 "//build/config/sanitizers:deps", | 89 "//build/config/sanitizers:deps", |
91 "//tools/android/common", | 90 "//tools/android/common", |
92 ] | 91 ] |
93 } | 92 } |
94 } else { | 93 } else { |
95 # Create a symlink from root_build_dir -> clang_x64/host_forwarder. | 94 # Create a symlink from root_build_dir -> clang_x64/host_forwarder. |
96 binary_symlink("host_forwarder") { | 95 binary_symlink("host_forwarder") { |
97 binary_label = ":host_forwarder($host_toolchain)" | 96 binary_label = ":host_forwarder($host_toolchain)" |
98 } | 97 } |
99 } | 98 } |
OLD | NEW |