@@ -86,3 +86,12 @@ config BR2_PACKAGE_LIBCEF
Google Chromium web browser.
https://bitbucket.org/chromiumembedded/cef
+
+if BR2_PACKAGE_LIBCEF
+
+config BR2_PACKAGE_LIBCEF_CEFSIMPLE
+ bool "Enable libcef example application cefsimple."
+ help
+ Enables libcef example application cefsimple.
+
+endif
@@ -208,6 +208,15 @@ else
LIBCEF_GN_DEFINES += use_pulseaudio=false
endif
+ifeq ($(BR2_PACKAGE_LIBCEF_CEFSIMPLE),y)
+LIBCEF_BUILD_TARGETS += cefsimple
+define LIBCEF_INSTALL_CEFSIMPLE
+ $(INSTALL) -m 0755 -D -t $(TARGET_DIR)/usr/lib \
+ $(@D)/$(LIBCEF_BUILD_OUTPUT_DIR)/cefsimple
+endef
+LIBCEF_POST_INSTALL_TARGET_HOOKS += LIBCEF_INSTALL_CEFSIMPLE
+endif
+
# To build libcef, the CEF project source must be extracted in a
# `cef` directory inside the Chromium source tree. We override
# the buildroot default extract commands to get the desired source