summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/BUILD.gn')
-rw-r--r--deps/v8/test/cctest/BUILD.gn36
1 files changed, 9 insertions, 27 deletions
diff --git a/deps/v8/test/cctest/BUILD.gn b/deps/v8/test/cctest/BUILD.gn
index d2918d90ae..f926707915 100644
--- a/deps/v8/test/cctest/BUILD.gn
+++ b/deps/v8/test/cctest/BUILD.gn
@@ -40,7 +40,6 @@ v8_executable("cctest") {
"compiler/test-multiple-return.cc",
"compiler/test-node.cc",
"compiler/test-operator.cc",
- "compiler/test-osr.cc",
"compiler/test-representation-change.cc",
"compiler/test-run-bytecode-graph-builder.cc",
"compiler/test-run-calls-to-external-references.cc",
@@ -167,6 +166,7 @@ v8_executable("cctest") {
"test-thread-termination.cc",
"test-threads.cc",
"test-trace-event.cc",
+ "test-traced-value.cc",
"test-transitions.cc",
"test-typedarrays.cc",
"test-types.cc",
@@ -182,6 +182,7 @@ v8_executable("cctest") {
"trace-extension.cc",
"trace-extension.h",
"types-fuzz.h",
+ "wasm/test-managed.cc",
"wasm/test-run-wasm-64.cc",
"wasm/test-run-wasm-asmjs.cc",
"wasm/test-run-wasm-interpreter.cc",
@@ -189,7 +190,6 @@ v8_executable("cctest") {
"wasm/test-run-wasm-module.cc",
"wasm/test-run-wasm-relocation.cc",
"wasm/test-run-wasm.cc",
- "wasm/test-wasm-function-name-table.cc",
"wasm/test-wasm-stack.cc",
"wasm/test-wasm-trap-position.cc",
"wasm/wasm-run-utils.h",
@@ -276,6 +276,7 @@ v8_executable("cctest") {
"test-log-stack-tracer.cc",
"test-macro-assembler-x64.cc",
"test-run-wasm-relocation-x64.cc",
+ "wasm/test-run-wasm-simd-lowering.cc",
"wasm/test-run-wasm-simd.cc",
]
} else if (v8_current_cpu == "x87") {
@@ -324,6 +325,7 @@ v8_executable("cctest") {
deps = [
":resources",
+ "../..:v8_libbase",
"../..:v8_libplatform",
"../..:wasm_module_runner",
"../..:wasm_test_signatures",
@@ -331,10 +333,13 @@ v8_executable("cctest") {
"//build/win:default_exe_manifest",
]
+ defines = []
+
if (is_component_build) {
# cctest 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" ]
+ defines += [ "BUILDING_V8_SHARED" ]
} else {
deps += [ "../..:v8" ]
}
@@ -358,14 +363,6 @@ v8_executable("cctest") {
# MSVS wants this for gay-{precision,shortest}.cc.
cflags += [ "/bigobj" ]
-
- # Suppress warnings about importing locally defined symbols.
- if (is_component_build) {
- ldflags += [
- "/ignore:4049",
- "/ignore:4217",
- ]
- }
}
}
@@ -416,25 +413,10 @@ v8_executable("generate-bytecode-expectations") {
]
deps = [
+ "../..:v8",
+ "../..:v8_libbase",
"../..:v8_libplatform",
"//build/config/sanitizers:deps",
"//build/win:default_exe_manifest",
]
-
- if (is_component_build) {
- # Same as cctest, we need to depend on the underlying static target.
- deps += [ "../..:v8_maybe_snapshot" ]
- } else {
- deps += [ "../..:v8" ]
- }
-
- if (is_win) {
- # Suppress warnings about importing locally defined symbols.
- if (is_component_build) {
- ldflags = [
- "/ignore:4049",
- "/ignore:4217",
- ]
- }
- }
}