• Mahmoud Gawad's avatar
    [Telemetry SWX] move creation behind build flag · 81a6d4cd
    Mahmoud Gawad authored
    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: default avatarGiovanni Ortuño Urquidi <ortuno@chromium.org>
    Reviewed-by: default avatarOleh Lamzin <lamzin@google.com>
    Commit-Queue: Mahmoud Gawad <mgawad@google.com>
    Cr-Commit-Position: refs/heads/master@{#797149}
    81a6d4cd
system_web_app_manager.h 9.38 KB