• Yusuke Sato's avatar
    arcvm: Support board-specific default apps · a1cd8de6
    Yusuke Sato authored
    On ARC, to support board-specific default apps, the arc-setup command
    creates a symlink from /var/cache/arc_default_apps to
    /usr/share/google-chrome/extensions/arc/<board>. This doesn't work on
    ARCVM where arc-setup is not in use.
    
    To support ARCVM, this CL checks the current board name in Chrome and
    construct the /usr/share/google-chrome/extensions/arc/<board> path at
    runtime.
    
    BUG=b:144199481
    TEST=try, ARCVM still starts
    
    Change-Id: I8dc3f93010d55324914cf774e90c040ef7f0c66b
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2020479
    Commit-Queue: Yusuke Sato <yusukes@chromium.org>
    Reviewed-by: default avatarYury Khmel <khmel@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#735207}
    a1cd8de6
BUILD.gn 347 KB