mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 21:44:51 +00:00

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>
67 lines
1.2 KiB
Plaintext
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",
|
|
]
|
|
}
|
|
}
|