blob: a95fd02202f62699f0c686fe0eaa57bc71ba7ea2 [file] [log] [blame]
Trevor Holbrook934f89c2020-11-18 15:34:14 -08001# Copyright (c) 2020 Project CHIP Authors
2#
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
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
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.
14
15import("//build_overrides/chip.gni")
16
17static_library("bdx") {
18 output_name = "libBdx"
19
20 sources = [
21 "BdxMessages.cpp",
22 "BdxMessages.h",
Vivien Nicolasf5b4caf2024-02-13 18:26:24 +010023 "BdxTransferDiagnosticLog.cpp",
24 "BdxTransferDiagnosticLog.h",
25 "BdxTransferDiagnosticLogPool.h",
Vivien Nicolasdb7d8872024-01-23 00:09:30 +010026 "BdxTransferProxy.h",
27 "BdxTransferProxyDiagnosticLog.cpp",
28 "BdxTransferProxyDiagnosticLog.h",
29 "BdxTransferServer.cpp",
30 "BdxTransferServer.h",
Andrei Litvinf3a71ce2024-02-05 09:02:56 -050031 "BdxTransferServerDelegate.h",
Trevor Holbrook775e37f2021-02-05 07:23:29 -080032 "BdxTransferSession.cpp",
33 "BdxTransferSession.h",
Damian Królikd6dfe032021-12-10 06:41:33 +010034 "BdxUri.cpp",
35 "BdxUri.h",
Andrei Litvinf3a71ce2024-02-05 09:02:56 -050036 "DiagnosticLogs.h",
Vivien Nicolasdb7d8872024-01-23 00:09:30 +010037 "StatusCode.cpp",
38 "StatusCode.h",
Trevor Holbrook77c1c532021-08-04 11:48:50 -070039 "TransferFacilitator.cpp",
40 "TransferFacilitator.h",
Trevor Holbrook934f89c2020-11-18 15:34:14 -080041 ]
42
43 cflags = [ "-Wconversion" ]
44
45 public_deps = [
46 "${chip_root}/src/lib/core",
47 "${chip_root}/src/lib/support",
Trevor Holbrookfe781612021-03-23 23:16:56 -070048 "${chip_root}/src/protocols/secure_channel",
Trevor Holbrook934f89c2020-11-18 15:34:14 -080049 "${chip_root}/src/system",
Kevin Schoedel07297782021-02-16 19:01:17 -050050 "${chip_root}/src/transport",
Trevor Holbrook934f89c2020-11-18 15:34:14 -080051 ]
52}