Blackduck scan libcef.dll, it found libpng 1.2.13.
So I download the 5672 branch source code of chromium by depot_tools.
1) download script below:
- Code: Select all
set CEF_USE_GN=1
set GN_DEFINES=is_official_build=true
set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*
python ..\automate\automate-git.py --download-dir=d:\code\chromium_git --depot-tools-dir=d:\code\depot_tools --no-distrib --no-build --no-depot-tools-update --branch=5672 --force-clean --force-update
2) use the script to generate the cef solution.
- Code: Select all
set GN_DEFINES=is_official_build=true is_component_build=false
# Use vs2017 or vs2019 as appropriate.
set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*
call cef_create_projects.bat
3) ninja -C out\Release_GN_x64 cef and ninja -C out\Debug_GN_x64 cef
4) make_distrib.bat --ninja-build --x64-build
all steps work well.
I got libcef.dll, and Blackduck scan libcef.dll. It also found libpng 1.2.13. It is so strange.
I checked the libpng version in "code\chromium_git\chromium\src\third_party\libpng". The version is 1.6.37.
So I don't know why libcef link libpng 1.2.13.
How can i resolve it?