It's not possible to build chrome using only sysroot |
||
Issue descriptionChrome Version: 67.0.3396.18 OS: : Linux I try to set up minimal version of Debian which will be used to compile chrome. I believe sysroot fetched by gclient contains all necessary headers and libraries required to compile chrome. Unfortunately binaries launched via gn_run_binary.py fail to start when necessary libraries are not present in host os: FAILED: v8_context_snapshot.bin python ../../build/gn_run_binary.py ./v8_context_snapshot_generator --output_file=v8_context_snapshot.bin ././v8_context_snapshot_generator: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory ./v8_context_snapshot_generator failed with exit code 127 libasound is part of sysroot and I am able to make full build when I set LD_LIBRARY_PATH to point to sysroot. I believe LD_LIBRARY_PATH should be properly set for binaries launched via gn_run_binary.py when we make build with sysroot.
,
Apr 27 2018
Does the build run to completion with use_v8_context_snapshot=false in args.gn?
,
Apr 30 2018
Yes, it does. With use_v8_context_snapshot=false chrome builds and links.
,
Apr 30 2018
Closing because with that flag it's possible to build chrome from a minimal environment. Also you're expected to run install-build-deps.sh to, well, install dependencies required for the build :) |
||
►
Sign in to add a comment |
||
Comment 1 by ckulakow...@opera.com
, Apr 27 2018