Use fine-grained v8 headers in pdfium
Now that v8.h has been split into many parts, include only the parts
that are needed.
Also update .gn to more accurately reflect the parts of v8 that are now
gn-check-clean.
Bug: v8:11965
Change-Id: Ia38f131b599274ca0deb393e5887e66a2eea164c
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/84950
Auto-Submit: Dan Elphick <delphick@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/fxjs/cjs_global.cpp b/fxjs/cjs_global.cpp
index 3aeb94f..5d10ae7 100644
--- a/fxjs/cjs_global.cpp
+++ b/fxjs/cjs_global.cpp
@@ -19,6 +19,7 @@
#include "fxjs/js_define.h"
#include "fxjs/js_resources.h"
#include "third_party/base/check.h"
+#include "v8/include/v8-isolate.h"
namespace {