diff options
author | Roger Zanoni <rzanoni@igalia.com> | 2021-04-07 17:01:14 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-05-12 08:54:16 +0000 |
commit | e96145a39d9138029306608398ba13644f6f0cf6 (patch) | |
tree | fdc9d1370f4947824d78dfba15c27caddf326646 /recipes-wam/chromium/chromium.inc | |
parent | 4c1450800aadb7dcd26819fcc14586bd572abc56 (diff) |
Restore chromium target and browser servicelamprey_11.91.0lamprey/11.91.011.91.0
- Merged chromium changes to fix build after bumping to chromium 84
- Fixed chromium install on current recipe
- Restored the chromium browser service
Bug-AGL: SPEC-3830
Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: I5cde7972021a4200581c2e161f848bcf7d8d0458
Diffstat (limited to 'recipes-wam/chromium/chromium.inc')
-rw-r--r-- | recipes-wam/chromium/chromium.inc | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/recipes-wam/chromium/chromium.inc b/recipes-wam/chromium/chromium.inc index 31542d1ef..69c9b438f 100644 --- a/recipes-wam/chromium/chromium.inc +++ b/recipes-wam/chromium/chromium.inc @@ -39,7 +39,7 @@ BROWSER_APP_BUILD_TARGET = "chrome" BROWSER_APPLICATION = "chromium84-browser" BROWSER_APPLICATION_DIR = "/opt/chromium84" -TARGET = "${WEBRUNTIME_BUILD_TARGET}" +TARGET = "${WEBRUNTIME_BUILD_TARGET} ${BROWSER_APP_BUILD_TARGET}" # Skip do_install_append of webos_system_bus. It is not compatible with this component. WEBOS_SYSTEM_BUS_FILES_LOCATION = "${S}/files/sysbus" @@ -76,7 +76,8 @@ GN_ARGS = "\ treat_warnings_as_errors=false\ is_agl=true\ use_cbe=true\ - is_chrome_cbe=false\ + is_chrome_cbe=true\ + is_component_build=false\ use_cups=false\ use_custom_libcxx=false\ use_kerberos=false\ @@ -239,16 +240,15 @@ configure_browser_settings() { } install_chromium_browser() { + # Install browser files + ${S}/depot_tools/ninja ${PARALLEL_MAKE} -C ${OUT_DIR}/${BUILD_TYPE} webos/install/default_browser + D_DIR=${D}${BROWSER_APPLICATION_DIR} + L_DIR=${D}${CBE_DATA_PATH} install -d ${D_DIR} + install -d ${L_DIR} - # Install browser files - if [ -e "${SRC_DIR}/webos/install" ]; then - cd ${OUT_DIR}/${BUILD_TYPE} - xargs --arg-file=${SRC_DIR}/webos/install/default_browser/binary.list cp -R --no-dereference --preserve=mode,links -v --target-directory=${D_DIR} - cd ${SRC_DIR} - xargs --arg-file=${SRC_DIR}/webos/install/default_browser/runtime.list cp -R --no-dereference --preserve=mode,links -v --target-directory=${D_DIR} - fi + cp -R --no-dereference --preserve=mode,links -v ${OUT_IMAGE_DIR}/${BROWSER_APPLICATION_DIR}/* ${D_DIR} # AGL does not have PMLOG sed -i.bak s/PmLogCtl.*// ${D_DIR}/run_webbrowser @@ -310,6 +310,7 @@ install_webruntime() { do_install() { install_webruntime + install_chromium_browser } WEBOS_SYSTEM_BUS_DIRS_LEGACY_BROWSER_APPLICATION = " \ |