diff options
author | Vishal Powar <vishal.powar@gmail.com> | 2018-11-14 11:07:47 -0800 |
---|---|---|
committer | Vishal Powar <vishal.powar@gmail.com> | 2018-11-14 11:07:47 -0800 |
commit | edab4e773e05f3736133c8ad26afbb3a9bc0a9c0 (patch) | |
tree | 837ae8d06648d7d786cda3a44c1d03e3bbcb7be6 | |
parent | 637e4ea9fbcc41508a26afc5cf41ff4497a3217c (diff) |
Add envoy and its dependent repos as submodules in third_party
The basic criteria is to have protoc generate code for envoy api's and
this change achieves that.
e.g.
protoc -I=$PWD -I=$PWD/third_party/data-plane-api -I=$PWD/third_party/googleapis -I=$PWD/third_party/protobuf -I=$PWD/third_party/protoc-gen-validate third_party/data-plane-api/envoy/api/v2/eds.proto
-rw-r--r-- | .gitmodules | 9 | ||||
m--------- | third_party/data-plane-api | 0 | ||||
m--------- | third_party/googleapis | 0 | ||||
m--------- | third_party/protoc-gen-validate | 0 |
4 files changed, 9 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index afde4d34f3..bb4b749bee 100644 --- a/.gitmodules +++ b/.gitmodules @@ -42,3 +42,12 @@ path = third_party/libcxx url = https://github.com/llvm-mirror/libcxx.git branch = release_60 +[submodule "third_party/data-plane-api"] + path = third_party/data-plane-api + url = https://github.com/envoyproxy/data-plane-api.git +[submodule "third_party/googleapis"] + path = third_party/googleapis + url = https://github.com/googleapis/googleapis.git +[submodule "third_party/protoc-gen-validate"] + path = third_party/protoc-gen-validate + url = https://github.com/lyft/protoc-gen-validate.git diff --git a/third_party/data-plane-api b/third_party/data-plane-api new file mode 160000 +Subproject 911001cdca003337bdb93fab32740cde61bafee diff --git a/third_party/googleapis b/third_party/googleapis new file mode 160000 +Subproject 80ed4d0bbf65d57cc267dfc63bd2584557f11f9 diff --git a/third_party/protoc-gen-validate b/third_party/protoc-gen-validate new file mode 160000 +Subproject e143189bf6f37b3957fb31743df6a1bcf4a8c68 |