diff --git a/BUILD.gn b/BUILD.gn index 6f60af4dc0799b..7e8f531eb36974 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -23,6 +23,7 @@ group("all") { "src/lib/support", "src/lwip:all", "src/system", + "src/transport", "third_party/mbedtls", "third_party/nlassert", "third_party/nlfaultinjection", diff --git a/src/transport/BUILD.gn b/src/transport/BUILD.gn new file mode 100644 index 00000000000000..177a8cf1a4d97b --- /dev/null +++ b/src/transport/BUILD.gn @@ -0,0 +1,37 @@ +# Copyright (c) 2020 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +source_set("transport") { + sources = [ + "Base.h", + "MessageHeader.cpp", + "MessageHeader.h", + "PeerAddress.h", + "PeerConnectionState.h", + "PeerConnections.h", + "SecureSession.cpp", + "SecureSession.h", + "SecureSessionMgr.cpp", + "SecureSessionMgr.h", + "UDP.cpp", + "UDP.h", + ] + + public_deps = [ + "//src/crypto", + "//src/inet", + "//src/lib/core", + "//src/lib/support", + ] +}