Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Unified Diff: tools/android/forwarder/BUILD.gn

Issue 1915293005: [Android] Make tools/android/forwarder build with the current toolchain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/forwarder/BUILD.gn
diff --git a/tools/android/forwarder/BUILD.gn b/tools/android/forwarder/BUILD.gn
index 9cc99b4a2bcca5407e7625c57d5b5bcbbd622028..c59cd90a165db09517c9efad8120f136713438d8 100644
--- a/tools/android/forwarder/BUILD.gn
+++ b/tools/android/forwarder/BUILD.gn
@@ -4,21 +4,14 @@
import("//build/symlink.gni")
-if (current_toolchain == host_toolchain) {
- # GYP: //tools/android/forwarder/forwarder.gyp:forwarder
- executable("forwarder") {
- sources = [
- "forwarder.cc",
- ]
- deps = [
- "//base",
- "//build/config/sanitizers:deps",
- "//tools/android/common",
- ]
- }
-} else {
- # Create a symlink from root_build_dir -> clang_x64/forwarder.
- binary_symlink("forwarder") {
- binary_label = ":$target_name($host_toolchain)"
- }
+# GYP: //tools/android/forwarder/forwarder.gyp:forwarder
+executable("forwarder") {
+ sources = [
+ "forwarder.cc",
+ ]
+ deps = [
+ "//base",
+ "//build/config/sanitizers:deps",
+ "//tools/android/common",
+ ]
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698