File tree 17 files changed +51
-17
lines changed
platform/bouffalolab/common
17 files changed +51
-17
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ static_library("chip-tool-utils") {
110
110
" ${ chip_root } /src/controller/data_model" ,
111
111
" ${ chip_root } /src/credentials:file_attestation_trust_store" ,
112
112
" ${ chip_root } /src/lib" ,
113
+ " ${ chip_root } /src/lib/core:types" ,
113
114
" ${ chip_root } /src/lib/support/jsontlv" ,
114
115
" ${ chip_root } /src/platform" ,
115
116
" ${ chip_root } /third_party/inipp" ,
Original file line number Diff line number Diff line change @@ -93,7 +93,10 @@ source_set("trace_handlers_decoder") {
93
93
94
94
public_configs = [ " :default_config" ]
95
95
96
- deps = [ " ${ chip_root } /src/lib" ]
96
+ deps = [
97
+ " ${ chip_root } /src/lib" ,
98
+ " ${ chip_root } /src/lib/core:types" ,
99
+ ]
97
100
public_deps = [ " ${ chip_root } /third_party/jsoncpp" ]
98
101
99
102
cflags = [ " -Wconversion" ]
@@ -121,6 +124,7 @@ executable("chip-trace-decoder") {
121
124
122
125
public_deps = [
123
126
" ${ chip_root } /src/lib" ,
127
+ " ${ chip_root } /src/lib/core:types" ,
124
128
" ${ chip_root } /third_party/jsoncpp" ,
125
129
]
126
130
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ static_library("websocket-server") {
34
34
]
35
35
36
36
public_deps = [
37
+ " ${ chip_root } /src/lib/core:types" ,
37
38
" ${ chip_root } /src/lib/support" ,
38
39
" ${ chip_root } /third_party/libwebsockets" ,
39
40
]
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ static_library("access") {
34
34
35
35
public_deps = [
36
36
" ${ chip_root } /src/lib/core" ,
37
+ " ${ chip_root } /src/lib/core:types" ,
37
38
" ${ chip_root } /src/lib/support" ,
38
39
" ${ chip_root } /src/platform" ,
39
40
]
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ source_set("paths") {
90
90
public_deps = [
91
91
" :app_config" ,
92
92
" ${ chip_root } /src/lib/core" ,
93
+ " ${ chip_root } /src/lib/core:types" ,
93
94
]
94
95
}
95
96
Original file line number Diff line number Diff line change 18
18
#include < app/AttributePersistenceProvider.h>
19
19
#include < lib/support/ScopedBuffer.h>
20
20
#include < lib/support/Span.h>
21
+ #include < system/SystemClock.h>
21
22
22
23
namespace chip {
23
24
namespace app {
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ static_library("credentials") {
125
125
" ${ chip_root } /src/crypto" ,
126
126
" ${ chip_root } /src/lib/asn1" ,
127
127
" ${ chip_root } /src/lib/core" ,
128
+ " ${ chip_root } /src/lib/core:types" ,
128
129
" ${ chip_root } /src/lib/support" ,
129
130
" ${ chip_root } /src/platform" ,
130
131
" ${ chip_root } /src/protocols:type_definitions" ,
Original file line number Diff line number Diff line change 40
40
#include < lib/support/BitFlags.h>
41
41
#include < lib/support/DLLUtil.h>
42
42
#include < lib/support/Span.h>
43
+ #include < system/SystemClock.h>
43
44
44
45
namespace chip {
45
46
namespace Credentials {
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ source_set("public_headers") {
68
68
" :crypto_buildconfig" ,
69
69
" ${ chip_root } /src/lib/asn1" ,
70
70
" ${ chip_root } /src/lib/core" ,
71
+ " ${ chip_root } /src/lib/core:types" ,
71
72
" ${ chip_root } /src/lib/support" ,
72
73
" ${ nlassert_root } :nlassert" ,
73
74
]
Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ static_library("inet") {
100
100
101
101
public_deps = [
102
102
" :inet_config_header" ,
103
+ " ${ chip_root } /src/lib/core:types" ,
103
104
" ${ chip_root } /src/lib/support" ,
104
105
" ${ chip_root } /src/platform:platform_config_header" ,
105
106
" ${ chip_root } /src/system" ,
Original file line number Diff line number Diff line change @@ -104,6 +104,23 @@ source_set("error") {
104
104
]
105
105
}
106
106
107
+ source_set (" types" ) {
108
+ sources = [
109
+ " CHIPSafeCasts.h" ,
110
+ " Global.h" ,
111
+ " InPlace.h" ,
112
+ " Optional.h" ,
113
+ " ReferenceCounted.h" ,
114
+ " Unchecked.h" ,
115
+ ]
116
+
117
+ public_deps = [
118
+ " :chip_config_header" ,
119
+ " ${ chip_root } /src/lib/support:memory" ,
120
+ " ${ chip_root } /src/lib/support:verifymacros" ,
121
+ ]
122
+ }
123
+
107
124
static_library (" core" ) {
108
125
output_name = " libChipCore"
109
126
@@ -112,11 +129,13 @@ static_library("core") {
112
129
# We should consider putting them directly in this directory
113
130
# instead.
114
131
" ${ chip_root } /zzz_generated/app-common/app-common/zap-generated/cluster-enums.h" ,
132
+ " CASEAuthTag.h" ,
115
133
" CHIPCallback.h" ,
116
134
" CHIPCore.h" ,
117
135
" CHIPEncoding.h" ,
118
136
" CHIPKeyIds.cpp" ,
119
137
" CHIPKeyIds.h" ,
138
+ " CHIPPersistentStorageDelegate.h" ,
120
139
" ClusterEnums.h" ,
121
140
" DataModelTypes.h" ,
122
141
" GroupId.h" ,
@@ -125,17 +144,26 @@ static_library("core") {
125
144
" OTAImageHeader.h" ,
126
145
" PasscodeId.h" ,
127
146
" PeerId.h" ,
147
+ " ScopedNodeId.h" ,
128
148
" TLV.h" ,
149
+ " TLVBackingStore.h" ,
129
150
" TLVCircularBuffer.cpp" ,
130
151
" TLVCircularBuffer.h" ,
152
+ " TLVCommon.h" ,
153
+ " TLVData.h" ,
131
154
" TLVDebug.cpp" ,
155
+ " TLVDebug.h" ,
132
156
" TLVReader.cpp" ,
157
+ " TLVReader.h" ,
133
158
" TLVTags.cpp" ,
134
159
" TLVTags.h" ,
135
160
" TLVTypes.h" ,
136
161
" TLVUpdater.cpp" ,
162
+ " TLVUpdater.h" ,
137
163
" TLVUtilities.cpp" ,
164
+ " TLVUtilities.h" ,
138
165
" TLVWriter.cpp" ,
166
+ " TLVWriter.h" ,
139
167
]
140
168
141
169
cflags = [ " -Wconversion" ]
Original file line number Diff line number Diff line change 14
14
* See the License for the specific language governing permissions and
15
15
* limitations under the License.
16
16
*/
17
-
18
- /* *
19
- * @file
20
- * This file defines the chip::Optional class to handle values which may
21
- * or may not be present.
22
- *
23
- */
24
17
#pragma once
25
18
26
19
namespace chip {
Original file line number Diff line number Diff line change 25
25
26
26
#include < new>
27
27
#include < type_traits>
28
+ #include < utility>
28
29
29
- #include < lib/core/CHIPCore.h>
30
30
#include < lib/core/InPlace.h>
31
+ #include < lib/support/CodeUtils.h>
31
32
32
33
namespace chip {
33
34
Original file line number Diff line number Diff line change 14
14
* See the License for the specific language governing permissions and
15
15
* limitations under the License.
16
16
*/
17
-
18
- /* *
19
- * @file
20
- * This file defines the chip::Optional class to handle values which may
21
- * or may not be present.
22
- *
23
- */
24
17
#pragma once
25
18
26
19
namespace chip {
Original file line number Diff line number Diff line change @@ -149,7 +149,10 @@ source_set("verifymacros") {
149
149
source_set (" span" ) {
150
150
sources = [ " Span.h" ]
151
151
152
- public_deps = [ " :verifymacros" ]
152
+ public_deps = [
153
+ " :verifymacros" ,
154
+ " ${ chip_root } /src/lib/core:types" ,
155
+ ]
153
156
}
154
157
155
158
source_set (" chip_version_header" ) {
@@ -254,6 +257,7 @@ static_library("support") {
254
257
" :verifymacros_no_logging" ,
255
258
" ${ chip_root } /src/lib/core:chip_config_header" ,
256
259
" ${ chip_root } /src/lib/core:error" ,
260
+ " ${ chip_root } /src/lib/core:types" ,
257
261
" ${ chip_root } /src/platform:platform_config_header" ,
258
262
" ${ chip_root } /src/system:system_config_header" ,
259
263
" ${ nlassert_root } :nlassert" ,
Original file line number Diff line number Diff line change 18
18
#pragma once
19
19
20
20
#include < platform/CHIPDeviceEvent.h>
21
+ #include < system/SystemPacketBuffer.h>
21
22
22
23
#if CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE
23
24
#include < bluetooth/bluetooth.h>
Original file line number Diff line number Diff line change 9
9
10
10
#include < lib/core/CHIPError.h>
11
11
#include < protocols/bdx/BdxMessages.h>
12
+ #include < system/SystemClock.h>
12
13
#include < system/SystemPacketBuffer.h>
13
14
#include < transport/raw/MessageHeader.h>
14
15
You can’t perform that action at this time.
0 commit comments