4fe89e59f2
Fixes gn check error due to include of test/common/wasm/wasm-macro-gen.h. Also changes common_test_headers dep from v8_for_testing to v8_internal_headers, since otherwise on windows the wasm_api_tests binary ends up depending on wee8 and libv8_for_testing which define many of the same symbols. Bug: v8:7330 Change-Id: Ib03b860668146f21456729a3d2c5e0d75d8c17d4 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2729335 Auto-Submit: Dan Elphick <delphick@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#73150}
48 lines
990 B
Plaintext
48 lines
990 B
Plaintext
# 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 = [
|
|
"../:common_test_headers",
|
|
"../..:v8_internal_headers",
|
|
"../..: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",
|
|
"finalize.cc",
|
|
"globals.cc",
|
|
"hostref.cc",
|
|
"memory.cc",
|
|
"multi-return.cc",
|
|
"reflect.cc",
|
|
"run-all-wasm-api-tests.cc",
|
|
"serialize.cc",
|
|
"startup-errors.cc",
|
|
"table.cc",
|
|
"threads.cc",
|
|
"traps.cc",
|
|
"wasm-api-test.h",
|
|
]
|
|
}
|