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

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

Issue 1882533004: 🐍 Fix GN deps needed by third_party/WebKit/Tools/Scripts/run-webkit-tests (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
Index: tools/android/forwarder/BUILD.gn
diff --git a/tools/android/forwarder/BUILD.gn b/tools/android/forwarder/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..9cc99b4a2bcca5407e7625c57d5b5bcbbd622028
--- /dev/null
+++ b/tools/android/forwarder/BUILD.gn
@@ -0,0 +1,24 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+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)"
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698