File tree 12 files changed +20
-9
lines changed
tv-casting-app/tv-casting-common
12 files changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,8 @@ static_library("chip-tool-utils") {
66
66
# TODO - enable CommissionedListCommand once DNS Cache is implemented
67
67
# "commands/pairing/CommissionedListCommand.cpp",
68
68
# "commands/pairing/CommissionedListCommand.h",
69
+ " ${ chip_root } /src/controller/ExamplePersistentStorage.cpp" ,
70
+ " ${ chip_root } /src/controller/ExamplePersistentStorage.h" ,
69
71
" commands/pairing/CloseSessionCommand.cpp" ,
70
72
" commands/pairing/CloseSessionCommand.h" ,
71
73
" commands/pairing/OpenCommissioningWindowCommand.cpp" ,
@@ -75,7 +77,6 @@ static_library("chip-tool-utils") {
75
77
" commands/payload/SetupPayloadParseCommand.cpp" ,
76
78
" commands/payload/SetupPayloadVerhoeff.cpp" ,
77
79
" commands/storage/StorageManagementCommand.cpp" ,
78
- " config/PersistentStorage.cpp" ,
79
80
]
80
81
81
82
deps = []
Original file line number Diff line number Diff line change 19
19
#pragma once
20
20
21
21
#ifdef CONFIG_USE_LOCAL_STORAGE
22
- #include " ../../config/PersistentStorage.h "
22
+ #include < controller/ExamplePersistentStorage.h >
23
23
#endif // CONFIG_USE_LOCAL_STORAGE
24
24
25
25
#include " ../common/CHIPCommand.h"
Original file line number Diff line number Diff line change 19
19
#pragma once
20
20
21
21
#ifdef CONFIG_USE_LOCAL_STORAGE
22
- #include " ../../config/PersistentStorage.h "
22
+ #include < controller/ExamplePersistentStorage.h >
23
23
#endif // CONFIG_USE_LOCAL_STORAGE
24
24
25
25
#include " Command.h"
Original file line number Diff line number Diff line change 19
19
#pragma once
20
20
21
21
#ifdef CONFIG_USE_LOCAL_STORAGE
22
- #include " ../../config/PersistentStorage.h "
22
+ #include < controller/ExamplePersistentStorage.h >
23
23
#endif // CONFIG_USE_LOCAL_STORAGE
24
24
25
25
#include " Command.h"
Original file line number Diff line number Diff line change 18
18
19
19
#pragma once
20
20
21
- #include " ../../config/PersistentStorage.h"
22
21
#include " ../common/CHIPCommand.h"
22
+ #include < controller/ExamplePersistentStorage.h>
23
23
24
24
class DiscoverCommand : public CHIPCommand
25
25
{
Original file line number Diff line number Diff line change 18
18
19
19
#pragma once
20
20
21
- #include " ../../config/PersistentStorage.h"
22
21
#include " ../common/Command.h"
22
+ #include < controller/ExamplePersistentStorage.h>
23
23
24
24
class CommissionedListCommand : public Command
25
25
{
Original file line number Diff line number Diff line change 16
16
*
17
17
*/
18
18
19
- #include " ../../config/PersistentStorage.h "
19
+ #include < controller/ExamplePersistentStorage.h >
20
20
21
21
#include " StorageManagementCommand.h"
22
22
Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ chip_data_model("tv-casting-common") {
43
43
" ${ chip_root } /examples/chip-tool/commands/common/Commands.cpp" ,
44
44
" ${ chip_root } /examples/chip-tool/commands/common/Commands.h" ,
45
45
" ${ chip_root } /examples/chip-tool/commands/common/CredentialIssuerCommands.h" ,
46
+ " ${ chip_root } /src/controller/ExamplePersistentStorage.cpp" ,
47
+ " ${ chip_root } /src/controller/ExamplePersistentStorage.h" ,
46
48
" ${ chip_root } /zzz_generated/chip-tool/zap-generated/cluster/ComplexArgumentParser.cpp" ,
47
49
" ${ chip_root } /zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp" ,
48
50
" commands/clusters/ModelCommand.cpp" ,
@@ -80,6 +82,7 @@ chip_data_model("tv-casting-common") {
80
82
81
83
deps = [
82
84
" ${ chip_root } /src/app/tests/suites/commands/interaction_model" ,
85
+ " ${ chip_root } /third_party/inipp" ,
83
86
" ${ chip_root } /third_party/jsoncpp" ,
84
87
]
85
88
Original file line number Diff line number Diff line change 152
152
# Not really for embedded consumers; uses std::queue to keep track
153
153
# of a list of discovered things.
154
154
'src/controller/SetUpCodePairer.h' : {'queue' },
155
+
156
+ 'src/controller/ExamplePersistentStorage.cpp' : {'fstream' }
155
157
}
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*
17
17
*/
18
- #include " PersistentStorage .h"
18
+ #include " ExamplePersistentStorage .h"
19
19
20
20
#include < lib/core/CHIPEncoding.h>
21
21
#include < lib/support/IniEscaping.h>
File renamed without changes.
Original file line number Diff line number Diff line change @@ -49,7 +49,12 @@ shared_library("jni") {
49
49
" zap-generated/CHIPReadCallbacks.cpp" ,
50
50
" zap-generated/CHIPReadCallbacks.h" ,
51
51
]
52
-
52
+ if (build_java_matter_controller ) {
53
+ sources += [
54
+ " ${ chip_root } /src/controller/ExamplePersistentStorage.cpp" ,
55
+ " ${ chip_root } /src/controller/ExamplePersistentStorage.h" ,
56
+ ]
57
+ }
53
58
deps = [
54
59
" ${ chip_root } /src/controller/data_model" ,
55
60
" ${ chip_root } /src/controller/data_model:java-jni-sources" ,
You can’t perform that action at this time.
0 commit comments