AnsweredAssumed Answered

Add Chromium Browser on X11 Yocto 2.1 issue.

Question asked by charles huang on Jul 30, 2019
Latest reply on Aug 2, 2019 by Kevin Chen

Hi NXP Team

 

Follower the i.MX_Yocto_Peoject_User's_Guide.pdf, we're try to add chromium browser on X11 yocto 2.1 version.

In local.conf, you can perform the following operations:

• Add Chromium into your image.
CORE_IMAGE_EXTRA_INSTALL += "chromium libexif"
• Add the commercial white list into local.conf.
LICENSE_FLAGS_WHITELIST="commercial"

-----------------------------------------------------------------------------------------------------------------------------------------------------

Our customer have successfully built an image with Chromium but errors appeared during the compilation. (see below)

When using Chromium, the web browser crashed very often.

 

Failures during compilation:

 

(1)First we got this error:

ERROR: chromium was skipped: Recipe is blacklisted: BROKEN: fails to build with gcc-6

Because Chromium is on the blacklist

The solution is to add in local.conf: PNBLACKLIST[chromium] = “”

 

(2) Then we got a second error regarding a chromium patch:

0004-Create-empty-i18n_process_css_test.html-file-to-avoi.patch

patch: **** Only garbage was found in the patch input

the workaround is to create manually an empty html file (details is in the patch) but it is not a sustainable solution.

 

About the two question,do you have any advice?

Thanks

Best regards

Clayder

Outcomes