Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build breaks #30

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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