remoting: Remove last X11 dependency from ozone build
commit1a4908a60b90eeaf713a43d812c1d5584ef0ffa9
authorspang <spang@chromium.org>
Thu, 7 May 2015 19:15:52 +0000 (7 12:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 7 May 2015 19:16:18 +0000 (7 19:16 +0000)
treebb8daca1679fd384c874b694075afb35b6ab75c8
parent199f66b202c942421e25ced69471f7d9d1f2c4a7
remoting: Remove last X11 dependency from ozone build

It's not possible to use Xrandr to configure the display in ozone
builds. This code does not work anyway, so replace it with a stub so
that we can actually compile without putting X into the build
environment.

BUG=484324
TEST=build for chromebook pixel with
     https://chromium-review.googlesource.com/#/c/269135/

Review URL: https://codereview.chromium.org/1120753009

Cr-Commit-Position: refs/heads/master@{#328813}
remoting/host/BUILD.gn
remoting/host/desktop_resizer_ozone.cc [new file with mode: 0644]
remoting/host/desktop_resizer_x11.cc [moved from remoting/host/desktop_resizer_linux.cc with 93% similarity]
remoting/remoting_host_srcs.gypi