• Maggie Chen's avatar
    Revert "Reland "Reland "X11 and Ozone: enable use_x11 and use_ozone""" · fdfbaf2e
    Maggie Chen authored
    This reverts commit 8ce938a2.
    
    Reason for revert: <Suspect this CL breaks Linux FYI Ozone bot and  Linux FYI SkiaRenderer Vulkan (NVIDIA)/(Intel HD 630) >
    
    Original change's description:
    > Reland "Reland "X11 and Ozone: enable use_x11 and use_ozone""
    > 
    > This is a reland of 75363679
    > 
    > Original change's description:
    > > Reland "X11 and Ozone: enable use_x11 and use_ozone"
    > > 
    > > This is a reland of f985905e.
    > > 
    > > This change broke our headless build:
    > > ERROR at //ui/events/platform/x11/BUILD.gn:51:5: Assertion failed.
    > >     assert(ozone_platform_x11)
    > >     ^-----
    > > See //components/viz/demo/BUILD.gn:73:7: which caused the file to be included.
    > >       "//ui/events/platform/x11",.
    > > 
    > > Fix:
    > > Don't include x11 build for headless case.
    > > 
    > > Original change's description:
    > > > X11 and Ozone: enable use_x11 and use_ozone
    > > >
    > > > This is the final change that enables use_x11
    > > > and use_ozone for Linux builds and (as it was
    > > > before) excludes X11 for chromeos, chromecast,
    > > > lacros.
    > > >
    > > > in order to run ozone/X11/wayland, one must pass
    > > > —enable-features=UseOzonePlatform
    > > > —ozone-platform=x11 or wayland. otherwise,
    > > > non-ozone/X11 is used.
    > > >
    > > > it’s also possible to completely disable X11
    > > > so that clients, who need that kind of build can
    > > > continue to have that.
    > > >
    > > > Bug: 1085700
    > > > Change-Id: I171bcb53c406555a1d4bec3e88d76dc676310d48
    > > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2315869
    > > > Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
    > > > Reviewed-by: Robert Kroeger <rjkroege@chromium.org>
    > > > Reviewed-by: Scott Violet <sky@chromium.org>
    > > > Commit-Queue: Maksim Sisov (GMT+3) <msisov@igalia.com>
    > > > Cr-Commit-Position: refs/heads/master@{#801523}
    > > 
    > > Bug: 1085700
    > > Change-Id: I8bf0abead6c94c95ddc58443de7cf2268c977cf1
    > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2376806
    > > Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
    > > Commit-Queue: Maksim Sisov (GMT+3) <msisov@igalia.com>
    > > Cr-Commit-Position: refs/heads/master@{#801692}
    > 
    > Bug: 1085700
    > Change-Id: Ia5ed2af9376354d3378d8edd98a7a1446f13c88b
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2379190
    > Commit-Queue: Maksim Sisov (GMT+3) <msisov@igalia.com>
    > Reviewed-by: Robert Kroeger <rjkroege@chromium.org>
    > Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#802773}
    
    TBR=rjkroege@chromium.org,sky@chromium.org,thomasanderson@chromium.org,msisov@igalia.com
    
    Change-Id: I093bf5be51d6858d895c59d6bb31f3aa61c162b9
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: 1085700
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2383110Reviewed-by: default avatarMaggie Chen <magchen@chromium.org>
    Commit-Queue: Maggie Chen <magchen@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#802855}
    fdfbaf2e
headless.gn 1.23 KB