1
- OpenEmbedded/Yocto BSP layer for Chromium Browsers
2
- ==================================================
1
+ # OpenEmbedded/Yocto BSP layer for Chromium Browsers
3
2
4
3
This layer provides web browser recipes for use with OpenEmbedded
5
4
and/or Yocto.
@@ -19,8 +18,7 @@ This layer depends on:
19
18
- branch: master
20
19
- revision: HEAD
21
20
22
- Contributing
23
- ------------
21
+ ## Contributing
24
22
25
23
The preferred way to contribute to this layer is to send GitHub pull requests or
26
24
report problems in GitHub's issue tracker.
@@ -29,8 +27,8 @@ Alternatively there is the classic way of review on the OpenEmbedded dev mailing
29
27
list openembedded-devel@lists.openembedded.org (you have to be subscribed to
30
28
post to the list). Please cc the maintainers if you send your patches.
31
29
32
- Maintainers
33
- -----------
30
+ ## Maintainers
31
+
34
32
* Fabio Berton <fabio.berton@ossystems.com.br >
35
33
* Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com >
36
34
* Khem Raj <raj.khem@gmail.com >
@@ -42,8 +40,8 @@ When sending single patches, please use something like:
42
40
git send-email -1 -s --to openembedded-devel@lists.openembedded.org --subject-prefix='meta-browser][PATCH'
43
41
```
44
42
45
- Recipes
46
- -------
43
+ ## Recipes
44
+
47
45
recipes-browser/chromium:
48
46
Chromium browser.
49
47
@@ -62,23 +60,36 @@ peculiarities:
62
60
- Parts of the V8 (Chromium's JavaScript engine) build need to run binaries
63
61
built for the target, for which we use QEMU.
64
62
65
- Build requirements
66
- ------------------
63
+ ## Build requirements
64
+
67
65
This recipe requires clang, and GCC is not supported. Upstream Chromium has not
68
66
tested or officially supported GCC for years, so it is safer and easier to
69
67
follow their lead and only support one compiler.
70
68
71
69
As part of its build process, Chromium builds and runs some binaries on the
72
70
host. clang-native from the meta-clang layer is used to build those binaries.
73
71
74
- For building most of the code for your target, a C++14-compliant compiler is
75
- required. At least clang 7.0.0 (and thus the "thud" branch) is required.
76
-
77
72
Additionally, make sure the machine being used to build Chromium is powerful
78
73
enough: a x86-64 machine with at least 16GB RAM is recommended.
79
74
80
- PACKAGECONFIG knobs
81
- -------------------
75
+ ### dunfell-specific requirements
76
+
77
+ The dunfell OE/Yocto branch is an LTS release, which is often at odds with
78
+ Chromium's release model because it often requires recent versions of certain
79
+ recipes to build correctly.
80
+
81
+ This is particularly a problem for the toolchain (i.e. LLVM) and, at times,
82
+ node.js. As such, dunfell users ** must** ensure the following:
83
+ * Chromium needs clang >= 12 and for that, meta-clang's ** dunfell-clang12**
84
+ branch needs to be used.
85
+ * Since Chromium 112, at least Nodejs 14 is required for parts of the build.
86
+ meta-oe needs to be at least a commit
87
+ 116bfe8d5e5851e7fc5424f40da8691a19c5b5ee ("nodejs: make 14.18.1 available but
88
+ not default") and ` PREFERRED_VERSION_nodejs-native = "14.%" ` needs to be
89
+ added to ` conf/local.conf ` .
90
+
91
+ ## PACKAGECONFIG knobs
92
+
82
93
* component-build: (off by default)
83
94
Enables component build mode. By default, all of Chromium (with the exception
84
95
of FFmpeg) is linked into one big binary. The linker step requires at least 8
@@ -128,8 +139,8 @@ PACKAGECONFIG knobs
128
139
query battery status. If disabled, there will be warning messages seen on
129
140
stderr and Battery Status Web API will not work.
130
141
131
- Google API keys
132
- ---------------
142
+ ## Google API keys
143
+
133
144
Some Chromium features use Google APIs, and to access those APIs either an API
134
145
Key or a set of OAuth 2.0 tokens is required. Setting up API keys is optional.
135
146
0 commit comments