• James Vecore's avatar
    [Nearby] Move nearby-device-icon to be shared · 4b68c376
    James Vecore authored
    This is a mostly mechanical change to move the nearby-device-icon
    Polymer component from being chrome://nearby (Poylmer3) only to being
    shared with chrome://os-settings (Polymer2/3). This necessary for Nearby
    Share's launch despite Polymer2 being phased out (the conversion won't
    be complete in time for M-89 launch).
    
    A Few other small changes were necessary:
    - Fixed a copy/paste issue with resource_path_rewrites
    - Make the nearby_share/shared folder CrOS only. There was still a
    lingering referenced to the closure compiler targets that were not CrOS
    only.
    - Refactored browser test to not use the mojo interfaces from a const
    expression (necessary for Polymer2).
    - Copied icons from icons to the existing shared icon set (old icons
    will be cleaned up in a follow up CL.
    
    Bug: 1156035
    
    Change-Id: Ic913ca66e814097524ebf29fd7eb0c89aad82d68
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2571804
    Commit-Queue: James Vecore <vecore@google.com>
    Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#834609}
    4b68c376
BUILD.gn 11 KB