Skip to content

Commit

Permalink
Fix build breaks (#30)
Browse files Browse the repository at this point in the history
* Fix depot_tools error
* Fix flutter/flutter#95711
  • Loading branch information
Hidenori Matsubayashi authored Feb 14, 2022
1 parent abf8f67 commit 417e6df
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions recipes-graphics/flutter-engine/flutter-engine.bb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ S = "${WORKDIR}/git"

inherit pkgconfig
# TODO: Add dependent packages.
DEPENDS = "freetype"
DEPENDS = "freetype curl-native ca-certificates-native"

GN_TOOLS_PYTHON2_PATH ??= "bootstrap-3.8.0.chromium.8_bin/python/bin"
GN_TOOLS_PYTHON2_PATH ??= "bootstrap-2@3.8.10.chromium.23_bin"

require gn-args-utils.inc

Expand All @@ -31,13 +31,16 @@ GN_ARGS_append = " --linux-cpu ${GN_TARGET_ARCH}"
GN_ARGS_append = " --arm-float-abi hard"
GN_ARGS_append = " --embedder-for-target"
GN_ARGS_append = " --disable-desktop-embeddings"
GN_ARGS_append = " --no-build-embedder-examples"
ARTIFACT_DIR = "${@get_engine_artifact_dir(d)}"

do_configure() {
# To disable auto update.
# Disable auto update (See: chromium/tools/depot_tools.git/+/refs/heads/main/gclient)
export DEPOT_TOOLS_UPDATE=0
export PATH=${S}:${S}/${GN_TOOLS_PYTHON2_PATH}:$PATH
# Avoid curl certification error.
export CURL_CA_BUNDLE=${STAGING_DIR_NATIVE}/etc/ssl/certs/ca-certificates.crt

export PATH=${S}:${S}/${GN_TOOLS_PYTHON2_PATH}:$PATH
cd ${WORKDIR}
echo 'solutions = [
{
Expand Down

0 comments on commit 417e6df

Please sign in to comment.