OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/symlink.gni") |
| 6 |
| 7 if (current_toolchain == host_toolchain) { |
| 8 # GYP: //tools/android/forwarder/forwarder.gyp:forwarder |
| 9 executable("forwarder") { |
| 10 sources = [ |
| 11 "forwarder.cc", |
| 12 ] |
| 13 deps = [ |
| 14 "//base", |
| 15 "//build/config/sanitizers:deps", |
| 16 "//tools/android/common", |
| 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 } |
OLD | NEW |