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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 group("forwarder2") { | 8 group("forwarder2") { |
9 testonly = true | 9 testonly = true |
10 data_deps = [ | 10 data_deps = [ |
(...skipping 25 matching lines...) Expand all Loading... |
36 "forwarders_manager.h", | 36 "forwarders_manager.h", |
37 "pipe_notifier.cc", | 37 "pipe_notifier.cc", |
38 "pipe_notifier.h", | 38 "pipe_notifier.h", |
39 "self_deleter_helper.h", | 39 "self_deleter_helper.h", |
40 "socket.cc", | 40 "socket.cc", |
41 "socket.h", | 41 "socket.h", |
42 "util.h", | 42 "util.h", |
43 ] | 43 ] |
44 deps = [ | 44 deps = [ |
45 "//base", | 45 "//base", |
46 "//build/config/sanitizers:deps", | 46 "//build/config:exe_and_shlib_deps", |
47 "//tools/android/common", | 47 "//tools/android/common", |
48 ] | 48 ] |
49 data_deps = [ | 49 data_deps = [ |
50 "//build/android/pylib/device/commands", | 50 "//build/android/pylib/device/commands", |
51 ] | 51 ] |
52 } | 52 } |
53 | 53 |
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" |
(...skipping 22 matching lines...) Expand all Loading... |
79 "host_controllers_manager.h", | 79 "host_controllers_manager.h", |
80 "pipe_notifier.cc", | 80 "pipe_notifier.cc", |
81 "pipe_notifier.h", | 81 "pipe_notifier.h", |
82 "self_deleter_helper.h", | 82 "self_deleter_helper.h", |
83 "socket.cc", | 83 "socket.cc", |
84 "socket.h", | 84 "socket.h", |
85 "util.h", | 85 "util.h", |
86 ] | 86 ] |
87 deps = [ | 87 deps = [ |
88 "//base", | 88 "//base", |
89 "//build/config/sanitizers:deps", | 89 "//build/config:exe_and_shlib_deps", |
90 "//tools/android/common", | 90 "//tools/android/common", |
91 ] | 91 ] |
92 } | 92 } |
93 | 93 |
94 executable("host_forwarder") { | 94 executable("host_forwarder") { |
95 sources = [ | 95 sources = [ |
96 "host_forwarder_main.cc", | 96 "host_forwarder_main.cc", |
97 ] | 97 ] |
98 deps = [ | 98 deps = [ |
99 ":host_forwarder_source_set", | 99 ":host_forwarder_source_set", |
(...skipping 16 matching lines...) Expand all Loading... |
116 } else { | 116 } else { |
117 # Create a symlink from root_build_dir -> clang_x64/host_forwarder. | 117 # Create a symlink from root_build_dir -> clang_x64/host_forwarder. |
118 binary_symlink("host_forwarder") { | 118 binary_symlink("host_forwarder") { |
119 binary_label = ":$target_name($host_toolchain)" | 119 binary_label = ":$target_name($host_toolchain)" |
120 } | 120 } |
121 binary_symlink("host_forwarder_unittests") { | 121 binary_symlink("host_forwarder_unittests") { |
122 testonly = true | 122 testonly = true |
123 binary_label = ":$target_name($host_toolchain)" | 123 binary_label = ":$target_name($host_toolchain)" |
124 } | 124 } |
125 } | 125 } |
OLD | NEW |