diff --git a/BUILD.gn b/BUILD.gn index ed9500785c..768db852b1 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -2111,6 +2111,8 @@ v8_header_set("v8_headers") { "include/v8-cppgc.h", "include/v8-fast-api-calls.h", "include/v8-internal.h", + "include/v8-profiler.h", + "include/v8-util.h", "include/v8.h", ] @@ -2508,9 +2510,7 @@ v8_source_set("v8_base_without_compiler") { "include/v8-inspector-protocol.h", "include/v8-inspector.h", "include/v8-metrics.h", - "include/v8-profiler.h", "include/v8-unwinder-state.h", - "include/v8-util.h", "include/v8-wasm-trap-handler-posix.h", "src/api/api-arguments-inl.h", "src/api/api-arguments.cc", diff --git a/test/cctest/test-api-interceptors.cc b/test/cctest/test-api-interceptors.cc index 236053eb45..af5858eaef 100644 --- a/test/cctest/test-api-interceptors.cc +++ b/test/cctest/test-api-interceptors.cc @@ -6,7 +6,6 @@ #include "test/cctest/test-api.h" -#include "include/v8-util.h" #include "src/api/api-inl.h" #include "src/base/platform/platform.h" #include "src/codegen/compilation-cache.h" @@ -18,30 +17,18 @@ #include "src/strings/unicode-inl.h" #include "src/utils/utils.h" -using ::v8::Boolean; -using ::v8::BooleanObject; using ::v8::Context; -using ::v8::Extension; using ::v8::Function; using ::v8::FunctionTemplate; -using ::v8::HandleScope; using ::v8::Local; using ::v8::Name; -using ::v8::Message; -using ::v8::MessageCallback; using ::v8::Object; using ::v8::ObjectTemplate; -using ::v8::Persistent; using ::v8::Script; -using ::v8::StackTrace; using ::v8::String; using ::v8::Symbol; -using ::v8::TryCatch; -using ::v8::Undefined; -using ::v8::V8; using ::v8::Value; - namespace { void Returns42(const v8::FunctionCallbackInfo& info) {