Skip to content

Commit

Permalink
Fix depot_tools error
Browse files Browse the repository at this point in the history
  • Loading branch information
Hidenori.Matsubayashi authored and Hidenori.Matsubayashi committed Feb 14, 2022
1 parent f54050e commit 5d96cd3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions recipes-graphics/flutter-engine/flutter-engine.bb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ S = "${WORKDIR}/git"

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

GN_TOOLS_PYTHON2_PATH ??= "bootstrap-2@3.8.10.chromium.23_bin"

Expand All @@ -34,11 +34,11 @@ GN_ARGS_append = " --disable-desktop-embeddings"
ARTIFACT_DIR = "${@get_engine_artifact_dir(d)}"

do_configure() {
# See: chromium/tools/depot_tools.git/+/refs/heads/main/gclient
# Disable auto update.
# Disable auto update (See: chromium/tools/depot_tools.git/+/refs/heads/main/gclient)
export DEPOT_TOOLS_UPDATE=0
# Use Python2
export GCLIENT_PY3=0
# 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 5d96cd3

Please sign in to comment.