BUILD.gn 933 Bytes
Newer Older
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
# Copyright 2019 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("wasm_api_tests") {
  testonly = true

  deps = [
    "../..:v8_maybe_icu",
    "../..:wee8",
    "//build/win:default_exe_manifest",
    "//testing/gmock",
    "//testing/gtest",
  ]

  data_deps = [
    "../../tools:v8_testrunner",
  ]

  data = [
    "testcfg.py",
    "wasm-api-tests.status",
  ]

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

  sources = [
    "../../testing/gmock-support.h",
    "../../testing/gtest-support.h",
    "callbacks.cc",
33
    "finalize.cc",
34
    "globals.cc",
35
    "hostref.cc",
36
    "memory.cc",
37
    "multi-return.cc",
38
    "reflect.cc",
39
    "run-all-wasm-api-tests.cc",
40
    "serialize.cc",
41
    "startup-errors.cc",
42
    "table.cc",
43
    "threads.cc",
44
    "traps.cc",
45
    "wasm-api-test.h",
46 47
  ]
}