-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Build optimizations #37401
base: master
Are you sure you want to change the base?
WIP: Build optimizations #37401
Conversation
a4df653
to
445eb31
Compare
PR #37401: Size comparison from 577b3f2 to 445eb31 Full report (42 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, psoc6, qpg, stm32, telink, tizen)
|
Signed-off-by: Adrian Gielniewski <[email protected]>
445eb31
to
e9170fb
Compare
0101630
to
66fc382
Compare
* Move OnboardingCodesUtils to separate target. * Remove shell dependency on server Signed-off-by: Adrian Gielniewski <[email protected]>
66fc382
to
d5184df
Compare
import("//build_overrides/chip.gni") | ||
import("${chip_root}/src/app/common_flags.gni") | ||
|
||
source_set("onboarding-codes-utils") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could make a sourceset without a separate folder too (less changes in include paths, so smaller delta).
Not strongly opposed either way. Somewhat concerned of a new folder with utils
in the name since those tend to start accepting anything inside. Maybe just onboarding-codes
would be sufficient (and we could rename the Util
in the h/cpp as well, but that results in a larger delta.
chip_device_platform == "openiotsdk" || | ||
chip_device_platform == "nrfconnect" || | ||
chip_device_platform == "esp32"))) { | ||
if (chip_build_tests && !(chip_device_platform == "mbed" || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change should probably be independent.
it does look more correct (i.e. test bits should depend on tests), however it also looks reasonably stand alone.
Optimize nrfconnect build times.
Testing
Tested using automated tests.