aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorMarco Vanotti <mvanotti@users.noreply.github.com>2018-11-20 17:33:21 -0800
committerDmitry Vyukov <dvyukov@google.com>2018-11-21 02:33:21 +0100
commitcb04e409f842fc2548d3d090583eb582069900b9 (patch)
tree3138c255879325339615f009267cec0282ba6e49 /sys
parent3a3d7f11b40c885fbdb60aa011c88bb1e2bc5e12 (diff)
sys/fuchsia: add zircon-ethernet to fidlgen libs
This commits adds "zircon-ethernet" to the list of fidl libraries that fidlgen would look at. This is required because recently, a change in fuchsia[0] added a new method to the netstack interface, that allows for adding an EthernetInterface. One of the parameters is a zircon.ethernet.Device, so we need to import that type for fidlgen to be able to understand fidl_net-stack.txt. I tested this by running: ```shell $ make extract TARGETOS=fuchsia SOURCEDIR=${FUCHSIADIR} $ make generate ``` [0]: https://fuchsia-review.googlesource.com/c/zircon/+/220580
Diffstat (limited to 'sys')
-rw-r--r--sys/fuchsia/fidlgen/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fuchsia/fidlgen/main.go b/sys/fuchsia/fidlgen/main.go
index 7173d910a..6b3d0f702 100644
--- a/sys/fuchsia/fidlgen/main.go
+++ b/sys/fuchsia/fidlgen/main.go
@@ -25,6 +25,7 @@ var layerToLibs = map[string][]string{
"fuchsia-io",
"fuchsia-net",
"fuchsia-net-stack",
+ "zircon-ethernet",
},
"garnet": {
"fuchsia.devicesettings",