@@ -247,29 +247,56 @@ This platform is used for
247
247
248
248
This platform provides support for the [ X window system] ( https://www.x.org/ ) .
249
249
250
+ The support for X11 is being actively developed by Igalia and the chromium
251
+ community and is intended to replace the current legacy X11 path.
252
+
253
+ You can try to compile and run it with the following configuration:
254
+
255
+ ``` shell
256
+ gn args out/OzoneX11 --args=" use_ozone=true"
257
+ ninja -C out/OzoneX11 chrome
258
+ ./out/OzoneX11/chrome --ozone-platform=x11
259
+ ```
260
+
250
261
### Wayland
251
262
252
263
This platform provides support for the
253
264
[ Wayland] ( http://wayland.freedesktop.org/ ) display protocol. It was
254
265
initially developed by Intel as
255
266
[ a fork of chromium] ( https://github.com/01org/ozone-wayland )
256
267
and then partially upstreamed.
257
- It is still actively being developed by Igalia both on the
258
- [ ozone-wayland-dev ] ( https://github.com/ Igalia/chromium/tree/ozone-wayland-dev )
259
- branch and the Chromium mainline repository, feel free to discuss
260
- with us on freenode.net, ` #ozone-wayland ` channel or on ` ozone-dev ` .
268
+
269
+ Currently, the Ozone/Wayland is actively being developed by Igalia in
270
+ the Chromium mainline repository with some features missing at the moment. The
271
+ progress can be tracked in the [ issue # 578890 ] ( https://crbug.com/578890 ) .
261
272
262
273
Below are some quick build & run instructions. It is assumed that you are
263
274
launching ` chrome ` from a Wayland environment such as ` weston ` . Execute the
264
- following commands (make sure a system version of gbm and drm is used, which are
265
- required by Ozone/Wayland by design, when running on Linux platforms.):
275
+ following commands (make sure a system version of gbm and drm is used, which
276
+ are required by Ozone/Wayland by design, when running on Linux platforms.):
266
277
267
278
``` shell
268
- gn args out/OzoneWayland --args=" use_ozone=true use_system_minigbm=true use_system_libdrm=true"
279
+ gn args out/OzoneWayland --args=" use_ozone=true use_system_minigbm=true use_system_libdrm=true use_xkbcommon=true "
269
280
ninja -C out/OzoneWayland chrome
270
281
./out/OzoneWayland/chrome --ozone-platform=wayland
271
282
```
272
283
284
+ Native file dialogs are currently supported through the GTK toolkit. That
285
+ implies that the browser is compiled with glib and gtk enabled. Please
286
+ append the following gn args to your configuration:
287
+
288
+ ``` shell
289
+ use_ozone=true
290
+ use_system_minigbm=true
291
+ use_system_libdrm=true
292
+ use_xkbcommon=true
293
+ use_glib=true
294
+ use_gtk=true
295
+ ```
296
+
297
+ Feel free to discuss with us on freenode.net, ` #ozone-wayland ` channel or on
298
+ ` ozone-dev ` , or on ` #ozone-wayland-x11 ` channel in [ chromium slack] ( https://www.chromium.org/developers/slack ) .
299
+
273
300
### Caca
274
301
275
302
This platform
0 commit comments