Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index 7e78fb0c6c5d34997c9702ef6b3eea296b5bab10..7c2f052f20ed6036605e716a586b19a6188a7e57 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -1018,6 +1018,21 @@ v8_header_set("v8_version") { |
] |
} |
+# This is split out to be a non-code containing target that the Chromium browser |
+# can depend upon to get basic v8 types. |
+v8_header_set("v8_headers") { |
+ configs = [ ":internal_config" ] |
+ |
+ sources = [ |
+ "include/v8.h", |
+ "include/v8config.h", |
+ ] |
+ |
+ deps = [ |
+ ":v8_version", |
+ ] |
+} |
+ |
v8_source_set("v8_base") { |
visibility = [ ":*" ] # Only targets in this file can depend on this. |
@@ -2366,9 +2381,9 @@ v8_source_set("v8_base") { |
defines = [] |
deps = [ |
+ ":v8_headers", |
":v8_libbase", |
":v8_libsampler", |
- ":v8_version", |
"src/inspector:inspector", |
] |