diff options
Diffstat (limited to 'deno2/BUILD.gn')
-rw-r--r-- | deno2/BUILD.gn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/deno2/BUILD.gn b/deno2/BUILD.gn index 564d8f8fb..d90cd9de1 100644 --- a/deno2/BUILD.gn +++ b/deno2/BUILD.gn @@ -11,6 +11,7 @@ executable("deno") { ":msg_proto", "//third_party/protobuf:protoc_lib", ] + public_configs = [ ":public_v8_base_config" ] } executable("mock_runtime_test") { @@ -52,6 +53,15 @@ source_set("deno_nosnapshot") { "v8:v8_libplatform", "v8:v8_libsampler", ] + public_configs = [ ":public_v8_base_config" ] +} + +# This allows us to v8/src/base/ libraries. +config("public_v8_base_config") { + include_dirs = [ + "v8", + "$target_gen_dir/v8", + ] } executable("snapshot_creator") { |