summaryrefslogtreecommitdiff
path: root/deps/v8/build/fuchsia/layout_test_proxy/BUILD.gn
blob: ad065071c5cb9e5000cb85434ebb130f778054af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 2018 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.

assert(is_fuchsia)

import("//testing/test.gni")

# Binary used to proxy TCP connections from a Fuchsia process. Potentially SSH
# can be used to forward TCP, but this feature is currently broken on Fuchsia,
# see ZX-1555. layout_test_proxy can be removed once that issue with sshd is
# fixed and layout tests are updated to use SSH.
executable("layout_test_proxy") {
  testonly = true
  sources = [
    "layout_test_proxy.cc",
  ]
  deps = [
    "//net",
    "//net:test_support",
  ]
}

fuchsia_package("layout_test_proxy_pkg") {
  testonly = true
  binary = ":layout_test_proxy"
  package_name_override = "layout_test_proxy"
}

fuchsia_package_runner("layout_test_proxy_runner") {
  testonly = true
  package = ":layout_test_proxy_pkg"
  package_name_override = "layout_test_proxy"
}