summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn3
-rw-r--r--samples/BUILD.gn5
2 files changed, 5 insertions, 3 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 12842d3cd9..b657836bdc 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -749,9 +749,6 @@ static_library("javascript") {
public_deps = [
"//v8",
]
- deps = [
- "//v8:v8_libplatform",
- ]
}
static_library("jsapi") {
diff --git a/samples/BUILD.gn b/samples/BUILD.gn
index e690c23622..37e13da639 100644
--- a/samples/BUILD.gn
+++ b/samples/BUILD.gn
@@ -14,5 +14,10 @@ executable("pdfium_test") {
]
deps = [
"//third_party/pdfium",
+ "//v8:v8_libplatform",
+ ]
+ include_dirs = [
+ "//v8",
+ "//v8/include",
]
}