From adfa258cc3130964780569a741f6dc3fc0299ec5 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Wed, 31 Jan 2018 08:03:17 -0800 Subject: [PATCH] build: add missing dependencies. (#448) While there, sort includes to match BUILD file. Signed-off-by: Piotr Sikora --- test/validate/BUILD | 2 ++ test/validate/pgv_test.cc | 11 +++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/test/validate/BUILD b/test/validate/BUILD index beb78de1..3662904d 100644 --- a/test/validate/BUILD +++ b/test/validate/BUILD @@ -24,6 +24,8 @@ api_cc_test( "//envoy/api/v2/filter/network:mongo_proxy", "//envoy/api/v2/filter/network:redis_proxy", "//envoy/api/v2/filter/network:tcp_proxy", + "//envoy/api/v2/listener", + "//envoy/api/v2/route", "//envoy/config/bootstrap/v2:bootstrap", ], ) diff --git a/test/validate/pgv_test.cc b/test/validate/pgv_test.cc index fdc9efc7..7d89ff6f 100644 --- a/test/validate/pgv_test.cc +++ b/test/validate/pgv_test.cc @@ -3,13 +3,16 @@ // We don't use all the headers in the test below, but including them anyway as // a cheap way to get some C++ compiler sanity checking. -#include "envoy/api/v2/protocol.pb.validate.h" #include "envoy/api/v2/cds.pb.validate.h" +#include "envoy/api/v2/eds.pb.validate.h" +#include "envoy/api/v2/lds.pb.validate.h" +#include "envoy/api/v2/protocol.pb.validate.h" +#include "envoy/api/v2/rds.pb.validate.h" #include "envoy/api/v2/filter/accesslog/accesslog.pb.validate.h" #include "envoy/api/v2/filter/http/buffer.pb.validate.h" #include "envoy/api/v2/filter/http/fault.pb.validate.h" -#include "envoy/api/v2/filter/http/health_check.pb.validate.h" #include "envoy/api/v2/filter/http/gzip.pb.validate.h" +#include "envoy/api/v2/filter/http/health_check.pb.validate.h" #include "envoy/api/v2/filter/http/lua.pb.validate.h" #include "envoy/api/v2/filter/http/router.pb.validate.h" #include "envoy/api/v2/filter/http/squash.pb.validate.h" @@ -21,10 +24,6 @@ #include "envoy/api/v2/listener/listener.pb.validate.h" #include "envoy/api/v2/route/route.pb.validate.h" #include "envoy/config/bootstrap/v2/bootstrap.pb.validate.h" -#include "envoy/api/v2/cds.pb.validate.h" -#include "envoy/api/v2/eds.pb.validate.h" -#include "envoy/api/v2/lds.pb.validate.h" -#include "envoy/api/v2/rds.pb.validate.h" #include "google/protobuf/text_format.h"