1 # Copyright (c) 2020 Project CHIP Authors
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 import("//build_overrides/chip.gni")
16 import("//build_overrides/nlio.gni")
17 import("${chip_root}/src/ble/ble.gni")
19 static_library("transport") {
20 output_name = "libTransportLayer"
23 "AdminPairingTable.cpp",
24 "AdminPairingTable.h",
27 "NetworkProvisioning.cpp",
28 "NetworkProvisioning.h",
31 "PeerConnectionState.h",
33 "RendezvousParameters.h",
34 "RendezvousSession.cpp",
35 "RendezvousSession.h",
36 "RendezvousSessionDelegate.h",
37 "SecureMessageCodec.cpp",
38 "SecureMessageCodec.h",
41 "SecureSessionMgr.cpp",
43 "SessionEstablishmentDelegate.h",
44 "StorablePeerConnection.cpp",
45 "StorablePeerConnection.h",
47 "TransportMgrBase.cpp",
51 if (chip_config_network_layer_ble) {
58 cflags = [ "-Wconversion" ]
61 "${chip_root}/src/crypto",
62 "${chip_root}/src/inet",
63 "${chip_root}/src/lib/core",
64 "${chip_root}/src/lib/mdns",
65 "${chip_root}/src/lib/support",
66 "${chip_root}/src/platform",
67 "${chip_root}/src/setup_payload",
68 "${chip_root}/src/transport/raw",