OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 if (current_toolchain == host_toolchain) { | 7 # GYP: //tools/android/forwarder/forwarder.gyp:forwarder |
8 # GYP: //tools/android/forwarder/forwarder.gyp:forwarder | 8 executable("forwarder") { |
9 executable("forwarder") { | 9 sources = [ |
10 sources = [ | 10 "forwarder.cc", |
11 "forwarder.cc", | 11 ] |
12 ] | 12 deps = [ |
13 deps = [ | 13 "//base", |
14 "//base", | 14 "//build/config/sanitizers:deps", |
15 "//build/config/sanitizers:deps", | 15 "//tools/android/common", |
16 "//tools/android/common", | 16 ] |
17 ] | |
18 } | |
19 } else { | |
20 # Create a symlink from root_build_dir -> clang_x64/forwarder. | |
21 binary_symlink("forwarder") { | |
22 binary_label = ":$target_name($host_toolchain)" | |
23 } | |
24 } | 17 } |
OLD | NEW |