Skip to contentSkip to conversation

cef3: Add recipe for Chromium Embedded Framework

PATCH Superseded Khem Raj 2 participants 3 messages Mar 11, 2015

v1 of 8 Superseded Latest is v8 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 cef3: Add recipe for Chromium Embedded Framework

CEF is a framework to embed chromium based browsers into other applications

Change-Id I7cb987828837b3aef6e87aa9b9f73a8babe26a06
---
 .../cef3/01_get_svn_version_from_LASTCHANGE.patch  |  25 ++++
 recipes-browser/chromium/cef3_280796.bb            | 146 +++++++++++++++++++++
 2 files changed, 171 insertions(+)
 create mode 100644 recipes-browser/chromium/cef3/01_get_svn_version_from_LASTCHANGE.patch
 create mode 100644 recipes-browser/chromium/cef3_280796.bb
recipes-browser/chromium/cef3/01_get_svn_version_from_LASTCHANGE.patch new file +25 -0
new file mode 100644
index 0000000..61f88b4
@@ -0,0 +1,25 @@
+diff --git a/cef/tools/make_version_header.py b/cef/tools/make_version_header.py
+index 84d49f5..395c2cf 100644
+--- a/cef/tools/make_version_header.py
++++ b/cef/tools/make_version_header.py
+@@ -64,6 +64,8 @@ def write_svn_header(header, chrome_version, cef_version, cpp_header_dir):
+       revision = svn.get_revision()
+     elif git.is_checkout('.'):
+       revision = git.get_svn_revision()
++    elif os.path.isfile("../build/util/LASTCHANGE"):
++      revision = open("../build/util/LASTCHANGE").read().split("=")[1].strip()
+     else:
+       raise Exception('Not a valid checkout')
+
+diff --git a/cef/tools/revision.py b/cef/tools/revision.py
+index 1d94602..eb89e3b 100644
+--- a/cef/tools/revision.py
++++ b/cef/tools/revision.py
+@@ -16,6 +16,8 @@ if os.path.exists(os.path.join('.', '.svn')):
+   sys.stdout.write(svn.get_revision())
+ elif os.path.exists(os.path.join('.', '.git')):
+   sys.stdout.write(git.get_svn_revision())
++elif os.path.isfile("../build/util/LASTCHANGE"):
++  revision = open("../build/util/LASTCHANGE").read().split("=")[1].strip()
+ else:
+   raise Exception('Not a valid checkout')
recipes-browser/chromium/cef3_280796.bb new file +146 -0

146 lines not on this page · raw message

Signature · 1 line
2.1.4
#1 lore raw
Quoted 2 lines · Khem Raj

CEF is a framework to embed chromium based browsers into other applications

Nice to see this show up :-)

Quoted 62 lines
Change-Id I7cb987828837b3aef6e87aa9b9f73a8babe26a06
---
 .../cef3/01_get_svn_version_from_LASTCHANGE.patch  |  25 ++++
 recipes-browser/chromium/cef3_280796.bb            | 146 +++++++++++++++++++++
 2 files changed, 171 insertions(+)
 create mode 100644 recipes-browser/chromium/cef3/01_get_svn_version_from_LASTCHANGE.patch
 create mode 100644 recipes-browser/chromium/cef3_280796.bb
recipes-browser/chromium/cef3/01_get_svn_version_from_LASTCHANGE.patch new file +25 -0
new file mode 100644
index 0000000..61f88b4
@@ -0,0 +1,25 @@
+diff --git a/cef/tools/make_version_header.py b/cef/tools/make_version_header.py
+index 84d49f5..395c2cf 100644
+--- a/cef/tools/make_version_header.py
++++ b/cef/tools/make_version_header.py
+@@ -64,6 +64,8 @@ def write_svn_header(header, chrome_version, cef_version, cpp_header_dir):
+       revision = svn.get_revision()
+     elif git.is_checkout('.'):
+       revision = git.get_svn_revision()
++    elif os.path.isfile("../build/util/LASTCHANGE"):
++      revision = open("../build/util/LASTCHANGE").read().split("=")[1].strip()
+     else:
+       raise Exception('Not a valid checkout')
+
+diff --git a/cef/tools/revision.py b/cef/tools/revision.py
+index 1d94602..eb89e3b 100644
+--- a/cef/tools/revision.py
++++ b/cef/tools/revision.py
+@@ -16,6 +16,8 @@ if os.path.exists(os.path.join('.', '.svn')):
+   sys.stdout.write(svn.get_revision())
+ elif os.path.exists(os.path.join('.', '.git')):
+   sys.stdout.write(git.get_svn_revision())
++elif os.path.isfile("../build/util/LASTCHANGE"):
++  revision = open("../build/util/LASTCHANGE").read().split("=")[1].strip()
+ else:
+   raise Exception('Not a valid checkout')
recipes-browser/chromium/cef3_280796.bb new file +13 -0
new file mode 100644
index 0000000..9834eac
@@ -0,0 +1,146 @@
+DESCRIPTION = "Chromium Embedded Framework"
+LICENSE = "BSD"
+
+# Based on Chromium dependencies
+DEPENDS = " \
+       xz-native \
+       pciutils \
+       pulseaudio \
+       xextproto \
+       pango \
+       cairo \
+       nss \
+       zlib-native \

recipes-browser/chromium/cef3_280796.bb line 23

Quoted 10 lines
recipes-browser/chromium/cef3_280796.bb new file +10 -0
+       cups \
+       ninja-native \
+       gconf \
+       libexif \
+       libxkbcommon \
+       fontconfig \
+       libdrm \
+       virtual/egl \
+       virtual/libgles2 \
+       "

Is there a logic to this sorting order?

recipes-browser/chromium/cef3_280796.bb line 32

Quoted 9 lines
recipes-browser/chromium/cef3_280796.bb new file +9 -0
+RDEPENDS_${PN} = " \
+       pango \
+       cairo \
+       fontconfig \
+       pciutils \
+       pulseaudio \
+       freetype \
+       fontconfig-utils \
+        "

Same comment here.

Quoted 7 lines
recipes-browser/chromium/cef3_280796.bb new file +7 -0
+#Generic Fonts are needed
+
+COMPATIBLE_MACHINE = "(-)"
+COMPATIBLE_MACHINE_i586 = "(.*)"
+COMPATIBLE_MACHINE_x86-64 = "(.*)"
+COMPATIBLE_MACHINE_armv6 = "(.*)"
+COMPATIBLE_MACHINE_armv7a = "(.*)"

recipes-browser/chromium/cef3_280796.bb line 49

Quoted 10 lines
recipes-browser/chromium/cef3_280796.bb new file +10 -0
+
+SRC_URI = "http://people.linaro.org/~zoltan.kuscsik/chromium-browser/chromium_rev_${PV}.tar.xz"
+SRC_URI +="git://github.com/kuscsik/chromiumembedded.git;protocol=https;destsuffix=src/cef;branch=aura;name=cef"
+SRC_URI +="git://github.com/kuscsik/ozone-egl.git;protocol=https;destsuffix=src/ui/ozone/platform/egl;branch=master;name=egl"
+SRC_URI +="git://chromium.googlesource.com/chromium/tools/depot_tools.git;protocol=https;destsuffix=depot_tools;branch=master;name=tools"
+SRC_URI +="file://01_get_svn_version_from_LASTCHANGE.patch"
+
+SRCREV = "${AUTOREV}"
+SRCREV_cef ?= "${AUTOREV}"
+SRCREV_egl = "${AUTOREV}"

Are AUTOREV versions allowed?

recipes-browser/chromium/cef3_280796.bb line 61

Quoted 12 lines
recipes-browser/chromium/cef3_280796.bb new file +12 -0
+SRCREV_FORMAT = "default_cef_egl_tools"
+S = "${WORKDIR}/chromium_rev_${PV}"
+
+do_fetch[vardeps] += "SRCREV_FORMAT SRCREV_cef SRCREV_egl SRCREV_tools"
+
+SRC_URI[md5sum] = "9efbb50283b731042e62b9bd5e312b2f"
+SRC_URI[sha256sum] = "f608e97dadf6ea4d885b24fd876896d46840fa39bf743ea2025075aee9fb348d"
+
+export CHROMIUM_BUILD_TYPE="Release"
+
+GYP_ARCH_DEFINES_armv7a = " target_arch=arm arm_float_abi=hard"
+GYP_ARCH_DEFINES_i586 = " target_arch=ia32"

Should there be a default GYP_ARCH_DEFINES for the other COMPATIBLE_MACHINEs, x86-64 and armv6?

Quoted 10 lines
recipes-browser/chromium/cef3_280796.bb new file +10 -0
+export GYP_GENERATORS="ninja"
+export BUILD_TARGET_ARCH="${TARGET_ARCH}"
+export GYP_DEFINES="${GYP_ARCH_DEFINES} release_extra_cflags='-Wno-error=unused-local-typedefs' sysroot=''"
+
+inherit gettext
+
+do_configure() {
+    # LD workaround taken from meta-browser
+    # replace LD with CXX, to workaround a possible gyp issue?
+    export PATH=${WORKDIR}/depot_tools:"$PATH"

recipes-browser/chromium/cef3_280796.bb line 81

Quoted 10 lines
recipes-browser/chromium/cef3_280796.bb new file +10 -0
+    LD="${CXX}" export LD
+    CC="${CC}" export CC
+    CXX="${CXX}" export CXX
+    CC_host="gcc" export CC_host
+    CXX_host="g++" export CXX_host
+    # End of LD Workaround
+
+    #-----------------------
+    # Configure and build cef
+    #------------------------

Confusing comment. If you build in the configure task, what happens below in the compile task?

Quoted 10 lines
recipes-browser/chromium/cef3_280796.bb new file +10 -0
+    cd cef
+    ./cef_create_projects.sh -I ${BUILD_TARGET_ARCH}_ozone.gypi --depth ../
+    cd -
+}
+
+# Workaround to disable qa_configure
+do_qa_configure() {
+    echo "do_qa_configure"
+}
+

recipes-browser/chromium/cef3_280796.bb line 101

Quoted 10 lines
recipes-browser/chromium/cef3_280796.bb new file +10 -0
+do_compile() {
+    ninja -C out/${CHROMIUM_BUILD_TYPE} cefsimple
+}
+
+do_install() {
+   install -d ${D}${bindir}
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/cefsimple ${D}${bindir}
+   if [ -f "${B}/out/${CHROMIUM_BUILD_TYPE}/icudtl.dat" ]; then
+   install -m 0644 ${B}/out/${CHROMIUM_BUILD_TYPE}/icudtl.dat ${D}${bindir}
+   fi

Dubious indenting...

Quoted 11 lines
recipes-browser/chromium/cef3_280796.bb new file +11 -0
+   install -d ${D}${libdir}
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/lib/libcef.so ${D}${libdir}
+   if [ -f "${B}/out/${CHROMIUM_BUILD_TYPE}/libosmesa.so" ]; then
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/libosmesa.so ${D}${libdir}
+   fi
+   if [ -f "${B}/out/${CHROMIUM_BUILD_TYPE}/libffmpegsumo.so" ]; then
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/libffmpegsumo.so ${D}${libdir}
+   fi
+   install -d ${D}${bindir}/chrome
+   if [ -f "${B}/out/${CHROMIUM_BUILD_TYPE}/cef_100_percent.pak" ]; then
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/cef_100_percent.pak ${D}${bindir}/chrome

recipes-browser/chromium/cef3_280796.bb line 122

Quoted 10 lines
recipes-browser/chromium/cef3_280796.bb new file +10 -0
+   fi
+   if [ -f "${B}/out/${CHROMIUM_BUILD_TYPE}/cef_200_percent.pak" ]; then
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/cef_200_percent.pak ${D}${bindir}/chrome
+   fi
+   if [ -f "${B}/out/${CHROMIUM_BUILD_TYPE}/cef_resources.pak" ]; then
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/cef_resources.pak ${D}${bindir}/chrome
+   fi
+   if [ -f "${B}/out/${CHROMIUM_BUILD_TYPE}/cef.pak" ]; then
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/cef.pak ${D}${bindir}/chrome
+   fi

What are .pak files? Do they need to be installed as executable?

recipes-browser/chromium/cef3_280796.bb line 134

Quoted 12 lines
recipes-browser/chromium/cef3_280796.bb new file +12 -0
+   install -d ${D}${bindir}/chrome/locales
+   install -m 0644 ${B}/out/${CHROMIUM_BUILD_TYPE}/locales/en-US.pak ${D}${bindir}/chrome/locales
+   # take care of libraries naming (versions)
+    cd ${D}${libdir}
+    for library in $(find -type f -name '*.so'); do
+         startDir="$(pwd)"
+          cd "$(dirname "$library")"
+          rm -f "$library.0.0.1"
+          mv "$library" "$library.0.0.1"
+          ln -sf "$library.0.0.1" "$library.0.0"
+          ln -sf "$library.0.0" "$library.0"
+          ln -sf "$library.0" "$library"

This only works correctly if sonames are given when the libraries are linked...

recipes-browser/chromium/cef3_280796.bb line 141

Quoted 7 lines
recipes-browser/chromium/cef3_280796.bb new file +7 -0
+        cd "$startDir"
+    done
+
+}
+
+INSANE_SKIP_${PN} = "dev-so ldflags"
+FILES_SOLIBSDEV = ""

See above. If sonames are correct then there should be no need to force the .so symlinks into the runtime package.

Quoted 13 lines
recipes-browser/chromium/cef3_280796.bb new file +5 -1
+FILES_${PN} = "${bindir} ${bindir}/chrome/ ${libdir}"
+FILES_${PN} += "${bindir}/chrome/*.pak"
+FILES_${PN} += "${bindir}/chrome/locales/*.pak"
+FILES_${PN}-dbg += "${bindir}/chrome/.debug/ ${libdir}/.debug/"
+
--

2.1.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

author
#2 lore raw
Quoted 8 lines · Andre McCurdy
Quoted 2 lines · Khem Raj

CEF is a framework to embed chromium based browsers into other applications

Nice to see this show up :-)

its a verbatim copy of a working version. I will send out a v2, but will wait for some more feedback if anyone has

Quoted 67 lines
Quoted 67 lines
Change-Id I7cb987828837b3aef6e87aa9b9f73a8babe26a06

---
.../cef3/01_get_svn_version_from_LASTCHANGE.patch | 25 ++++
recipes-browser/chromium/cef3_280796.bb | 146 +++++++++++++++++++++

2 files changed, 171 insertions(+)

create mode 100644 recipes-browser/chromium/cef3/01_get_svn_version_from_LASTCHANGE.patch create mode 100644 recipes-browser/chromium/cef3_280796.bb

recipes-browser/chromium/cef3/01_get_svn_version_from_LASTCHANGE.patch new file +25 -0
new file mode 100644
index 0000000..61f88b4
@@ -0,0 +1,25 @@
+diff --git a/cef/tools/make_version_header.py b/cef/tools/make_version_header.py
+index 84d49f5..395c2cf 100644
+--- a/cef/tools/make_version_header.py
++++ b/cef/tools/make_version_header.py
+@@ -64,6 +64,8 @@ def write_svn_header(header, chrome_version, cef_version, cpp_header_dir):
+       revision = svn.get_revision()
+     elif git.is_checkout('.'):
+       revision = git.get_svn_revision()
++    elif os.path.isfile("../build/util/LASTCHANGE"):
++      revision = open("../build/util/LASTCHANGE").read().split("=")[1].strip()
+     else:
+       raise Exception('Not a valid checkout')
+
+diff --git a/cef/tools/revision.py b/cef/tools/revision.py
+index 1d94602..eb89e3b 100644
+--- a/cef/tools/revision.py
++++ b/cef/tools/revision.py
+@@ -16,6 +16,8 @@ if os.path.exists(os.path.join('.', '.svn')):
+   sys.stdout.write(svn.get_revision())
+ elif os.path.exists(os.path.join('.', '.git')):
+   sys.stdout.write(git.get_svn_revision())
++elif os.path.isfile("../build/util/LASTCHANGE"):
++  revision = open("../build/util/LASTCHANGE").read().split("=")[1].strip()
+ else:
+   raise Exception('Not a valid checkout')
recipes-browser/chromium/cef3_280796.bb new file +17 -0
new file mode 100644
index 0000000..9834eac
@@ -0,0 +1,146 @@
+DESCRIPTION = "Chromium Embedded Framework"
+LICENSE = "BSD"
+
+# Based on Chromium dependencies
+DEPENDS = " \
+       xz-native \
+       pciutils \
+       pulseaudio \
+       xextproto \
+       pango \
+       cairo \
+       nss \
+       zlib-native \
+       cups \
+       ninja-native \
+       gconf \
+       libexif \
Quoted 8 lines

recipes-browser/chromium/cef3_280796.bb line 23

Quoted 6 lines
recipes-browser/chromium/cef3_280796.bb new file +6 -0
+       libxkbcommon \
+       fontconfig \
+       libdrm \
+       virtual/egl \
+       virtual/libgles2 \
+       "

Is there a logic to this sorting order?

Not really, we could sort them though

Quoted 11 lines

recipes-browser/chromium/cef3_280796.bb line 32

Quoted 10 lines
recipes-browser/chromium/cef3_280796.bb new file +9 -0
+RDEPENDS_${PN} = " \
+       pango \
+       cairo \
+       fontconfig \
+       pciutils \
+       pulseaudio \
+       freetype \
+       fontconfig-utils \
+        "
Quoted 1 line

Same comment here.

consistent with above

Quoted 12 lines
Quoted 12 lines
recipes-browser/chromium/cef3_280796.bb new file +11 -0
+#Generic Fonts are needed
+
+COMPATIBLE_MACHINE = "(-)"
+COMPATIBLE_MACHINE_i586 = "(.*)"
+COMPATIBLE_MACHINE_x86-64 = "(.*)"
+COMPATIBLE_MACHINE_armv6 = "(.*)"
+COMPATIBLE_MACHINE_armv7a = "(.*)"
+
+SRC_URI = "http://people.linaro.org/~zoltan.kuscsik/chromium-browser/chromium_rev_${PV}.tar.xz"
+SRC_URI +="git://github.com/kuscsik/chromiumembedded.git;protocol=https;destsuffix=src/cef;branch=aura;name=cef"
+SRC_URI +="git://github.com/kuscsik/ozone-egl.git;protocol=https;destsuffix=src/ui/ozone/platform/egl;branch=master;name=egl"
Quoted 8 lines

recipes-browser/chromium/cef3_280796.bb line 49

Quoted 6 lines
recipes-browser/chromium/cef3_280796.bb new file +6 -0
+SRC_URI +="git://chromium.googlesource.com/chromium/tools/depot_tools.git;protocol=https;destsuffix=depot_tools;branch=master;name=tools"
+SRC_URI +="file://01_get_svn_version_from_LASTCHANGE.patch"
+
+SRCREV = "${AUTOREV}"
+SRCREV_cef ?= "${AUTOREV}"
+SRCREV_egl = "${AUTOREV}"

Are AUTOREV versions allowed?

hmmm good catch.

Quoted 16 lines

recipes-browser/chromium/cef3_280796.bb line 61

Quoted 13 lines
recipes-browser/chromium/cef3_280796.bb new file +12 -0
+SRCREV_FORMAT = "default_cef_egl_tools"
+S = "${WORKDIR}/chromium_rev_${PV}"
+
+do_fetch[vardeps] += "SRCREV_FORMAT SRCREV_cef SRCREV_egl SRCREV_tools"
+
+SRC_URI[md5sum] = "9efbb50283b731042e62b9bd5e312b2f"
+SRC_URI[sha256sum] = "f608e97dadf6ea4d885b24fd876896d46840fa39bf743ea2025075aee9fb348d"
+
+export CHROMIUM_BUILD_TYPE="Release"
+
+GYP_ARCH_DEFINES_armv7a = " target_arch=arm arm_float_abi=hard"
+GYP_ARCH_DEFINES_i586 = " target_arch=ia32"

Should there be a default GYP_ARCH_DEFINES for the other COMPATIBLE_MACHINEs, x86-64 and armv6?

No. They matched 1 to 1 IIRC

Quoted 16 lines
Quoted 16 lines
recipes-browser/chromium/cef3_280796.bb new file +15 -0
+export GYP_GENERATORS="ninja"
+export BUILD_TARGET_ARCH="${TARGET_ARCH}"
+export GYP_DEFINES="${GYP_ARCH_DEFINES} release_extra_cflags='-Wno-error=unused-local-typedefs' sysroot=''"
+
+inherit gettext
+
+do_configure() {
+    # LD workaround taken from meta-browser
+    # replace LD with CXX, to workaround a possible gyp issue?
+    export PATH=${WORKDIR}/depot_tools:"$PATH"
+    LD="${CXX}" export LD
+    CC="${CC}" export CC
+    CXX="${CXX}" export CXX
+    CC_host="gcc" export CC_host
+    CXX_host="g++" export CXX_host
Quoted 8 lines

recipes-browser/chromium/cef3_280796.bb line 81

Quoted 5 lines
recipes-browser/chromium/cef3_280796.bb new file +5 -0
+    # End of LD Workaround
+
+    #-----------------------
+    # Configure and build cef
+    #------------------------

Confusing comment. If you build in the configure task, what happens below in the compile task?

yes will have to change

Quoted 15 lines
Quoted 15 lines
recipes-browser/chromium/cef3_280796.bb new file +14 -0
+    cd cef
+    ./cef_create_projects.sh -I ${BUILD_TARGET_ARCH}_ozone.gypi --depth ../
+    cd -
+}
+
+# Workaround to disable qa_configure
+do_qa_configure() {
+    echo "do_qa_configure"
+}
+
+do_compile() {
+    ninja -C out/${CHROMIUM_BUILD_TYPE} cefsimple
+}
+
Quoted 9 lines

recipes-browser/chromium/cef3_280796.bb line 101

Quoted 6 lines
recipes-browser/chromium/cef3_280796.bb new file +6 -0
+do_install() {
+   install -d ${D}${bindir}
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/cefsimple ${D}${bindir}
+   if [ -f "${B}/out/${CHROMIUM_BUILD_TYPE}/icudtl.dat" ]; then
+   install -m 0644 ${B}/out/${CHROMIUM_BUILD_TYPE}/icudtl.dat ${D}${bindir}
+   fi

Dubious indenting…

right

Quoted 22 lines
Quoted 11 lines
recipes-browser/chromium/cef3_280796.bb new file +11 -0
+   install -d ${D}${libdir}
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/lib/libcef.so ${D}${libdir}
+   if [ -f "${B}/out/${CHROMIUM_BUILD_TYPE}/libosmesa.so" ]; then
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/libosmesa.so ${D}${libdir}
+   fi
+   if [ -f "${B}/out/${CHROMIUM_BUILD_TYPE}/libffmpegsumo.so" ]; then
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/libffmpegsumo.so ${D}${libdir}
+   fi
+   install -d ${D}${bindir}/chrome
+   if [ -f "${B}/out/${CHROMIUM_BUILD_TYPE}/cef_100_percent.pak" ]; then
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/cef_100_percent.pak ${D}${bindir}/chrome

recipes-browser/chromium/cef3_280796.bb line 122

Quoted 10 lines
recipes-browser/chromium/cef3_280796.bb new file +10 -0
+   fi
+   if [ -f "${B}/out/${CHROMIUM_BUILD_TYPE}/cef_200_percent.pak" ]; then
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/cef_200_percent.pak ${D}${bindir}/chrome
+   fi
+   if [ -f "${B}/out/${CHROMIUM_BUILD_TYPE}/cef_resources.pak" ]; then
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/cef_resources.pak ${D}${bindir}/chrome
+   fi
+   if [ -f "${B}/out/${CHROMIUM_BUILD_TYPE}/cef.pak" ]; then
+   install -m 0755 ${B}/out/${CHROMIUM_BUILD_TYPE}/cef.pak ${D}${bindir}/chrome
+   fi
Quoted 1 line

What are .pak files? Do they need to be installed as executable?

they are resource files. They can be 0644

Quoted 14 lines

recipes-browser/chromium/cef3_280796.bb line 134

Quoted 13 lines
recipes-browser/chromium/cef3_280796.bb new file +12 -0
+   install -d ${D}${bindir}/chrome/locales
+   install -m 0644 ${B}/out/${CHROMIUM_BUILD_TYPE}/locales/en-US.pak ${D}${bindir}/chrome/locales
+   # take care of libraries naming (versions)
+    cd ${D}${libdir}
+    for library in $(find -type f -name '*.so'); do
+         startDir="$(pwd)"
+          cd "$(dirname "$library")"
+          rm -f "$library.0.0.1"
+          mv "$library" "$library.0.0.1"
+          ln -sf "$library.0.0.1" "$library.0.0"
+          ln -sf "$library.0.0" "$library.0"
+          ln -sf "$library.0" "$library"
Quoted 1 line

This only works correctly if sonames are given when the libraries are linked…

yes thats the expectation

Quoted 11 lines

recipes-browser/chromium/cef3_280796.bb line 141

Quoted 8 lines
recipes-browser/chromium/cef3_280796.bb new file +7 -0
+        cd "$startDir"
+    done
+
+}
+
+INSANE_SKIP_${PN} = "dev-so ldflags"
+FILES_SOLIBSDEV = ""

See above. If sonames are correct then there should be no need to force the .so symlinks into the runtime package.

yes this should go.