iMX8MQ Yocto Chromium configure fail.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8MQ Yocto Chromium configure fail.

437 Views
bitglitcher
Contributor II

Dear NXP Support Team,

I'm trying to add chromium-ozone-wayland to our custom layer. The issue is that while doing so, the GN for chromium and qtwebengine seem to interfere. The only way that I can get qrwebengine to compile is by adding the following line to our layer.conf.

 

#BBMASK += "/meta-browser/meta-chromium/recipes-browser/chromium/gn-native_.*\.bb"

 

Now, by adding that line qtwebengine compiles just fine. But then Chromium fails to compile. Every include fails because it can't seem to find the library. 

| In file included from ../../third_party/skia/src/core/SkGlyphRun.cpp:8:                                                                                                                                         | ../../third_party/skia/src/core/SkGlyphRun.h:11:10: fatal error: 'functional' file not found                                                                                                                    | #include <functional>                                                                                                                                                                                           |          ^~~~~~~~~~~~                                                                                                                                                                                           | 1 error generated.                                                                                                                                                                                              
| In file included from ../../third_party/skia/src/core/SkBitmapDevice.cpp:8:                                                                                                                                     | In file included from ../../third_party/skia/include/core/SkImageFilter.h:11:                                                                                                                                   | In file included from ../../third_party/skia/include/core/SkFlattenable.h:11:                                                                                                                                   | In file included from ../../third_party/skia/include/core/SkRefCnt.h:11:                                                                                                                                        | In file included from ../../third_party/skia/include/core/SkTypes.h:192:                                                                                                                                        | In file included from ../../third_party/skia/../../skia/config/SkUserConfig.h:125:                                                                                                                              | ../../skia/ext/skia_histogram.h:10:10: fatal error: 'atomic' file not found                                                                                                                                     | #include <atomic>                                                                                                                                                                                               |          ^~~~~~~~                                                                                                                                                                                               
| ../../third_party/abseil-cpp/absl/status/status.h:54:10: fatal error: 'iostream' file not found                                                                                                                 | #include <iostream>                                                                                                                                                                                             |          ^~~~~~~~~~                                                                                                                                                                                             | 1 error generated.                                                                                                                                                                                              

 Maybe I'm missing some dependency, or I need to declare something.

 

Best regards,

Benjamin Herrera Navarro

0 Kudos
1 Reply

420 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

I think you should fix chromium and qtwebengine interfere issue refer the meta-freescale/conf/layer.conf:

0 Kudos