Skip to content

Commit

Permalink
Add transport to GN build
Browse files Browse the repository at this point in the history
  • Loading branch information
mspang committed Jul 8, 2020
1 parent 28cc8ef commit 1966477
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
37 changes: 37 additions & 0 deletions src/transport/BUILD.gn
Original file line number Diff line number Diff line change
@@ -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",
]
}

0 comments on commit 1966477

Please sign in to comment.