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/47251 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
47 lines
806 B
Plaintext
47 lines
806 B
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:benchmark_main",
|
|
]
|
|
}
|
|
|
|
v8_executable("dtoa_benchmark") {
|
|
testonly = true
|
|
|
|
configs = []
|
|
|
|
sources = [ "dtoa.cc" ]
|
|
|
|
deps = [
|
|
"//:v8_libbase",
|
|
"//third_party/google_benchmark:benchmark_main",
|
|
]
|
|
}
|
|
}
|