[meta-freescale] [meta-fsl-arm PATCH v2 06/16] chromium: Refactor code to use the the new overrides

Otavio Salvador otavio at ossystems.com.br
Thu Sep 1 15:20:33 PDT 2016


The recipe has been reworked to use the 'imxvpu' feature override.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---

Changes in v2: None

 browser-layer/recipes-browser/chromium/chromium-imx.inc              | 3 +--
 browser-layer/recipes-browser/chromium/chromium_48.0.2548.0.bbappend | 5 +----
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/browser-layer/recipes-browser/chromium/chromium-imx.inc b/browser-layer/recipes-browser/chromium/chromium-imx.inc
index 6b63165..f8ba268 100644
--- a/browser-layer/recipes-browser/chromium/chromium-imx.inc
+++ b/browser-layer/recipes-browser/chromium/chromium-imx.inc
@@ -1,5 +1,4 @@
-DEPENDS_append_mx6q = " imx-vpuwrap"
-DEPENDS_append_mx6dl = " imx-vpuwrap"
+DEPENDS_append_imxvpu = " imx-vpuwrap"
 
 # Additional imx code and patches are included in the chromium-imx git repository.
 # The code below fetches this repository, copies the extra source over to the main
diff --git a/browser-layer/recipes-browser/chromium/chromium_48.0.2548.0.bbappend b/browser-layer/recipes-browser/chromium/chromium_48.0.2548.0.bbappend
index 8c8f801..54a0a99 100644
--- a/browser-layer/recipes-browser/chromium/chromium_48.0.2548.0.bbappend
+++ b/browser-layer/recipes-browser/chromium/chromium_48.0.2548.0.bbappend
@@ -4,9 +4,6 @@ CHROMIUM_IMX_BRANCH = "master"
 CHROMIUM_IMX_SRCREV = "4a2d15ab899b9944bb3adb2ddd250530da5b2e1a"
 CHROMIUM_IMX_COMMON_PATCHES += "file://${PATCH_BASE_DIR}/common/0001-Enable-share-group-workaround-for-Vivante-GPUs.patch"
 
-VPU_PATCHES = "file://${PATCH_BASE_DIR}/common/0002-Add-VPU-video-decode-accelerator-to-Chromium-GPU-.patch"
-
-CHROMIUM_IMX_VPU_PATCHES_mx6q += "${VPU_PATCHES}"
-CHROMIUM_IMX_VPU_PATCHES_mx6dl += "${VPU_PATCHES}"
+CHROMIUM_IMX_VPU_PATCHES_imxvpu += "file://${PATCH_BASE_DIR}/common/0002-Add-VPU-video-decode-accelerator-to-Chromium-GPU-.patch"
 
 CHROMIUM_IMX_WAYLAND_PATCHES += "file://${PATCH_BASE_DIR}/wayland/0001-Modify-eglwayland-versions-for-Vivante-GPUs.patch"
-- 
2.9.3



More information about the meta-freescale mailing list