node/deps/v8/test/benchmarks/cpp/BUILD.gn
Michaël Zasso 9d7cd9b864
deps: update V8 to 12.8.374.13
PR-URL: https://github.com/nodejs/node/pull/54077
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
2024-08-16 16:03:01 +02:00

67 lines
1.2 KiB
Plaintext

# Copyright 2020 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")
group("gn_all") {
testonly = true
deps = []
if (v8_enable_google_benchmark) {
deps += [
":empty_benchmark",
"cppgc:gn_all",
]
}
}
if (v8_enable_google_benchmark) {
v8_executable("empty_benchmark") {
testonly = true
configs = []
sources = [ "empty.cc" ]
deps = [
"//:v8_libbase",
"//third_party/google_benchmark_chrome:benchmark_main",
"//third_party/google_benchmark_chrome:google_benchmark",
]
}
v8_executable("dtoa_benchmark") {
testonly = true
configs = []
sources = [ "dtoa.cc" ]
deps = [
"//:v8_libbase",
"//third_party/google_benchmark_chrome:benchmark_main",
"//third_party/google_benchmark_chrome:google_benchmark",
]
}
v8_executable("bindings_benchmark") {
testonly = true
configs = []
sources = [
"benchmark-main.cc",
"benchmark-utils.cc",
"benchmark-utils.h",
"bindings.cc",
]
deps = [
"//:v8",
"//third_party/google_benchmark_chrome:google_benchmark",
]
}
}