diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-06-14 00:55:40 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-06-14 14:19:17 +0200 |
commit | ec65717c59082c98c93c0ce2ded265861e20b48d (patch) | |
tree | d9d6d88085959d802f2247b8debc1edca934e04a /deno2/BUILD.gn | |
parent | 168cc755cf132a09a91308c19e032195a17fc67f (diff) |
Add ability to link to v8_libbase.
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") { |