Skip to content

Commit

Permalink
Fix code generation for Darwin tests. (#16084)
Browse files Browse the repository at this point in the history
This is temporary until we remove this code in favor of
chip-tool-darwin, but for now we need to be regenerating code that we
run, so it does not get out of sync with the XML.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Jan 18, 2024
1 parent cef4c46 commit 1023556
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#import <Foundation/Foundation.h>
#import <CHIP/CHIPError_Internal.h>

#import "CHIP/zap-generated/CHIPCallbackBridge_internal.h"
#import "CHIPCallbackBridge_internal.h"
#import "CHIPCluster_internal.h"
#import "CHIPDevice.h"
#import "CHIPDevice_Internal.h"
Expand Down
1 change: 1 addition & 0 deletions src/darwin/Framework/CHIP/CHIPCallbackBridge_internal.h
10 changes: 10 additions & 0 deletions src/darwin/Framework/CHIP/templates/templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@
"name": "Objc reflections of CHIP command payloads header",
"output": "src/darwin/Framework/CHIP/zap-generated/CHIPCommandPayloadsObjc.mm"
},
{
"path": "../../../../../examples/chip-tool-darwin/templates/CHIPTestClustersObjc.zapt",
"name": "Test Objc API Header",
"output": "src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.h"
},
{
"path": "../../../../../examples/chip-tool-darwin/templates/CHIPTestClustersObjc-src.zapt",
"name": "Test Objc API",
"output": "src/darwin/Framework/CHIP/zap-generated//CHIPTestClustersObjc.mm"
},
{
"path": "CHIPAttributeTLVValueDecoder-src.zapt",
"name": "Decode TLV attribute values into Objc objects",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1023556

Please sign in to comment.