-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hook up basic OTA provider infrastructure in darwin-framework-tool. (#…
…19705) A few changes here: 1. The Darwin framework XCode build needs to compile in privilege-storage.cpp, because otherwise the ACL subsystem thinks that QueryImage needs Administer privilege. 2. darwin-framework-tool also needs to compile in privilege-storage.cpp. 3. The "Darwin framework" ninja library needs to include ota-provider.cpp, like the XCode build does. 4. Since darwin-framework-tool is not actually linking to the framework, but compiling its sources via ninja, we need to make sure that the ninja build does not pull in the "data model" bits, including ember-compatibility-functions.cpp, since the Darwin framework has a different implementation of the relevant functions that we want to use. This means never having "src/controller/data_model" as deps, and that requires a few changes: a) In the "Darwin framework" library, need to add zzz_generated/controller-clusters to include_dirs, so we can pick up various generated CHIPCluster bits and whatnot. b) In the "chip-tool-utils" library, used by chip-tool and darwin-framework-tool, need to not include PairingCommand.cpp, which depends on the data model bits. Luckily, darwin-framework-tool was not using that anyway, so we can just move it, and the data model bits, into the chip-tool executable build.
- Loading branch information
1 parent
7f83fbf
commit 5ea0ca6
Showing
4 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters