[Telemetry SWX] move creation behind build flag
Currently, telemetry_extension_ui files are behind !is_official_build flag, while creation of the SystemAppType::TELEMETRY is not. This generates an error when the is_official_build=true indicating that the TelemetryExtension cannot be installed because there are no resources. To achieve consistency, move the creation of SystemWebType::TELEMETRY behind !defined(OFFICIAL_BUILD). Future work, when Telemetry SWX is ready to be shipped with Chrome, move out the SystemApp and resources creation outside !is_official_build flag. Bug: b:153335834 Change-Id: Id4add254e0e032c201c6dd7e54020ab6f262e802 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2346659Reviewed-by:Giovanni Ortuño Urquidi <ortuno@chromium.org> Reviewed-by:
Oleh Lamzin <lamzin@google.com> Commit-Queue: Mahmoud Gawad <mgawad@google.com> Cr-Commit-Position: refs/heads/master@{#797149}
Showing
Please register or sign in to comment