summaryrefslogtreecommitdiff
path: root/deps/v8/test/inspector/BUILD.gn
blob: cb96bf423ceb972ddbfd6ab829a5b24ec427f879 (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
35
36
37
38
39
# Copyright 2016 the V8 project 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("../../gni/v8.gni")

v8_executable("inspector-test") {
  testonly = true

  sources = [
    "inspector-impl.cc",
    "inspector-impl.h",
    "inspector-test.cc",
    "task-runner.cc",
    "task-runner.h",
  ]

  configs = [
    "../..:external_config",
    "../..:internal_config_base",
  ]

  deps = [
    "../..:v8_libplatform",
    "//build/config/sanitizers:deps",
    "//build/win:default_exe_manifest",
  ]

  if (is_component_build) {
    # inspector-test can't be built against a shared library, so we
    # need to depend on the underlying static target in that case.
    deps += [ "../..:v8_maybe_snapshot" ]
  } else {
    deps += [ "../..:v8" ]
  }

  cflags = []
  ldflags = []
}