New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 677267 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jan 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Build ChromeOS version of Chrome on Linux.

Project Member Reported by reve...@chromium.org, Dec 28 2016

Issue description

Allow Ozone Chrome with DRM/KMS platform to build and run on Linux.
 
Project Member

Comment 2 by bugdroid1@chromium.org, Jan 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/241589803c85731c3bd032ad828b3001300c3643

commit 241589803c85731c3bd032ad828b3001300c3643
Author: reveman <reveman@chromium.org>
Date: Tue Jan 10 05:58:45 2017

ozone: Allow ozone evdev/kvm features to be enabled without running on ChromeOS.

Adds a new "IsRunningAsSystemCompositor" flag for ChromeOS
builds. This flag can be used to enable ChromeOS system compositor
features without having to be running on a real ChromeOS device.

This is useful for testing purposes as it allows evdev input system
and the GBM ozone platform to be used on a workstation.

BUG= 677267 

Review-Url: https://codereview.chromium.org/2585633004
Cr-Commit-Position: refs/heads/master@{#442507}

[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/ash/display/display_configuration_controller.cc
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/ash/shell.cc
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/chrome/browser/chromeos/input_method/input_method_manager_impl.cc
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/chrome/browser/chromeos/preferences.cc
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/chrome/browser/chromeos/system/input_device_settings_impl_ozone.cc
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/chromeos/chromeos.gyp
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/chromeos/chromeos_switches.cc
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/chromeos/chromeos_switches.h
[add] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/chromeos/system/devicemode.cc
[add] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/chromeos/system/devicemode.h
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/services/ui/DEPS
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/services/ui/display/BUILD.gn
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/services/ui/display/screen_manager_ozone.cc
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/ui/base/ime/DEPS
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/ui/base/ime/input_method_chromeos.cc
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/ui/display/manager/BUILD.gn
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/ui/display/manager/DEPS
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/ui/display/manager/chromeos/display_configurator.cc
[modify] https://crrev.com/241589803c85731c3bd032ad828b3001300c3643/ui/display/manager/display_manager.cc

Project Member

Comment 3 by bugdroid1@chromium.org, Jan 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/968d2048faa36195bf79684cb104aec2399d10ee

commit 968d2048faa36195bf79684cb104aec2399d10ee
Author: reveman <reveman@chromium.org>
Date: Tue Jan 10 06:20:34 2017

third_party: Add libevdev and gestures.

This allows more ozone code to be built and tested on non-ChromeOS
machines.

BUG= 677267 
TEST=built chrome with use_evdev_gestures = true, use_system_libevdev = false, use_system_gestures = false

Review-Url: https://codereview.chromium.org/2583223003
Cr-Commit-Position: refs/heads/master@{#442518}

[modify] https://crrev.com/968d2048faa36195bf79684cb104aec2399d10ee/.gitignore
[modify] https://crrev.com/968d2048faa36195bf79684cb104aec2399d10ee/DEPS
[add] https://crrev.com/968d2048faa36195bf79684cb104aec2399d10ee/third_party/gestures/BUILD.gn
[add] https://crrev.com/968d2048faa36195bf79684cb104aec2399d10ee/third_party/gestures/LICENSE
[add] https://crrev.com/968d2048faa36195bf79684cb104aec2399d10ee/third_party/gestures/OWNERS
[add] https://crrev.com/968d2048faa36195bf79684cb104aec2399d10ee/third_party/gestures/README.chromium
[add] https://crrev.com/968d2048faa36195bf79684cb104aec2399d10ee/third_party/gestures/include/gestures/gestures.h
[add] https://crrev.com/968d2048faa36195bf79684cb104aec2399d10ee/third_party/libevdev/BUILD.gn
[add] https://crrev.com/968d2048faa36195bf79684cb104aec2399d10ee/third_party/libevdev/LICENSE
[add] https://crrev.com/968d2048faa36195bf79684cb104aec2399d10ee/third_party/libevdev/OWNERS
[add] https://crrev.com/968d2048faa36195bf79684cb104aec2399d10ee/third_party/libevdev/README.chromium
[modify] https://crrev.com/968d2048faa36195bf79684cb104aec2399d10ee/ui/events/ozone/BUILD.gn

Project Member

Comment 4 by bugdroid1@chromium.org, Jan 11 2017

Status: Fixed (was: Assigned)
Download the jessie sysroot using:

$ pushd build/linux/sysroot_scripts
$ python -c 'm = __import__("install-sysroot"); m.InstallSysroot("Jessie", "amd64");'
$ popd

and use the following gn args to build ChromeOS version of Chrome on Linux:

use_ozone = true
target_os = "chromeos"
ozone_platform_gbm = true
ozone_platform = "gbm"
use_system_minigbm = false
target_sysroot = "//build/linux/debian_jessie_amd64-sysroot"
use_xkbcommon = true
use_evdev_gestures = true
use_system_libevdev = false
use_system_gestures = false

Sign in to add a comment