summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2019-05-14 14:30:56 -0700
committerBert Belder <bertbelder@gmail.com>2019-05-16 20:33:25 -0700
commit3d6f0a85af061d4d3b1e761a6e1692c2e57ed86d (patch)
tree9988b65e08512248165d484a60b356f24dace443 /BUILD.gn
parent6e7ccf0b49bc3d15f48184064d9c2e3eb76b33f7 (diff)
build: add support for rust proc-macro crates
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn6
1 files changed, 3 insertions, 3 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 426816c75..909d04ce5 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -13,8 +13,8 @@ group("default") {
rust_executable("hyper_hello") {
source_root = "tools/hyper_hello.rs"
- extern = [
- "$rust_build:hyper",
- "$rust_build:ring",
+ extern_rlib = [
+ "hyper",
+ "ring",
]
}