File tree 8 files changed +34
-7
lines changed
8 files changed +34
-7
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ function(chip_configure_data_model APP_TARGET)
86
86
${CHIP_APP_BASE_DIR} /server/DefaultTermsAndConditionsProvider.cpp
87
87
${CHIP_APP_BASE_DIR} /server/Dnssd.cpp
88
88
${CHIP_APP_BASE_DIR} /server/EchoHandler.cpp
89
- ${CHIP_APP_BASE_DIR} /server/OnboardingCodesUtil.cpp
90
89
${CHIP_APP_BASE_DIR} /server/Server.cpp
91
90
)
92
91
Original file line number Diff line number Diff line change
1
+ # 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
+
15
+ import (" //build_overrides/chip.gni" )
16
+ import (" ${ chip_root } /src/app/common_flags.gni" )
17
+
18
+ source_set (" onboarding-codes-utils" ) {
19
+ sources = [
20
+ " OnboardingCodesUtil.cpp" ,
21
+ " OnboardingCodesUtil.h" ,
22
+ ]
23
+
24
+ deps = [
25
+ " ${ chip_root } /src/setup_payload" ,
26
+ " ${ chip_root } /src/platform" ,
27
+ ]
28
+ public_configs = [ " ${ chip_root } /src:includes" ]
29
+ }
30
+
Original file line number Diff line number Diff line change 16
16
* limitations under the License.
17
17
*/
18
18
19
- #include < app/server /OnboardingCodesUtil.h>
19
+ #include < app/onboarding-codes-utils /OnboardingCodesUtil.h>
20
20
21
21
#include < algorithm>
22
22
#include < inttypes.h>
File renamed without changes.
Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ static_library("server") {
57
57
" Dnssd.h" ,
58
58
" EchoHandler.cpp" ,
59
59
" EchoHandler.h" ,
60
- " OnboardingCodesUtil.cpp" ,
61
- " OnboardingCodesUtil.h" ,
62
60
" Server.cpp" ,
63
61
" Server.h" ,
64
62
]
@@ -81,7 +79,6 @@ static_library("server") {
81
79
" ${ chip_root } /src/messaging" ,
82
80
" ${ chip_root } /src/platform" ,
83
81
" ${ chip_root } /src/protocols" ,
84
- " ${ chip_root } /src/setup_payload" ,
85
82
" ${ chip_root } /src/transport" ,
86
83
]
87
84
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ source_set("commands") {
66
66
67
67
if (chip_device_platform != " none" ) {
68
68
public_deps += [ " ${ chip_root } /src/app/server" ]
69
+ public_deps += [ " ${ chip_root } /src/app/onboarding-codes-utils" ]
69
70
}
70
71
71
72
cflags = [ " -Wconversion" ]
Original file line number Diff line number Diff line change 20
20
#if CONFIG_DEVICE_LAYER
21
21
#include < platform/CHIPDeviceLayer.h>
22
22
#endif
23
- #include < app/server /OnboardingCodesUtil.h>
23
+ #include < app/onboarding-codes-utils /OnboardingCodesUtil.h>
24
24
#include < lib/shell/Engine.h>
25
25
#include < lib/support/CodeUtils.h>
26
26
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
- #include < app/server /OnboardingCodesUtil.h>
18
+ #include < app/onboarding-codes-utils /OnboardingCodesUtil.h>
19
19
#include < inttypes.h>
20
20
#include < lib/core/CHIPCore.h>
21
21
#include < lib/shell/Commands.h>
You can’t perform that action at this time.
0 commit comments