Skip to content

[web] Emscripten SDK messages of dubious utility from gclient sync #110897

@yjbanov

Description

@yjbanov

Did a gclient sync just now and saw these Emscripten messages in the console:

Running hooks:  90% ( 9/10) Activate Emscripten SDK
________ running 'python3 src/flutter/tools/activate_emsdk.py' in '/Users/yjbanov/code/flutter/engine'
Resolving SDK version '3.1.3' to 'sdk-releases-upstream-2ddc66235392b37e5b33477fd86cbe01a14b8aa2-64bit'
Installing SDK 'sdk-releases-upstream-2ddc66235392b37e5b33477fd86cbe01a14b8aa2-64bit'..
Skipped installing node-14.18.2-64bit, already installed.
Skipped installing python-3.9.2-64bit, already installed.
Skipped installing releases-upstream-2ddc66235392b37e5b33477fd86cbe01a14b8aa2-64bit, already installed.
All SDK components already installed: 'sdk-releases-upstream-2ddc66235392b37e5b33477fd86cbe01a14b8aa2-64bit'.
Resolving SDK version '3.1.3' to 'sdk-releases-upstream-2ddc66235392b37e5b33477fd86cbe01a14b8aa2-64bit'
Setting the following tools as active:
   node-14.18.2-64bit
   python-3.9.2-64bit
   releases-upstream-2ddc66235392b37e5b33477fd86cbe01a14b8aa2-64bit

Next steps:
- To conveniently access emsdk tools from the command line,
  consider adding the following directories to your PATH:
    /Users/yjbanov/code/flutter/engine/src/buildtools/emsdk
    /Users/yjbanov/code/flutter/engine/src/buildtools/emsdk/node/14.18.2_64bit/bin
    /Users/yjbanov/code/flutter/engine/src/buildtools/emsdk/upstream/emscripten
- This can be done for the current shell by running:
    source "/Users/yjbanov/code/flutter/engine/src/buildtools/emsdk/emsdk_env.sh"
- Configure emsdk in your shell startup scripts by running:
    echo 'source "/Users/yjbanov/code/flutter/engine/src/buildtools/emsdk/emsdk_env.sh"' >> $HOME/.bash_profile
Running hooks: 100% (10/10), done.

I think we want Emscripten to be managed automatically by gn. If so, do these messages help?

Metadata

Metadata

Labels

P2Important issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.e: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webengineflutter/engine related. See also e: labels.platform-webWeb applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions