Following this guide: https://bitbucket.org/chromiumembedded/ ... dows-setup
In step 6 i created a .bat with the following:
- Code: Select all
set "GN_DEFINES=use_jumbo_build=true is_component_build=true enable_webrtc=false symbol_level=1 remove_webcore_debug_symbols=true use_lld=true"
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*
c:\Python27\python.exe ..\automate\automate-git.py --download-dir=c:\code\chromium_git --depot-tools-dir=c:\code\depot_tools --no-distrib --no-build --branch=3497
In step 7 i created create.bat with this:
- Code: Select all
set "GN_DEFINES=use_jumbo_build=true is_component_build=true enable_webrtc=false symbol_level=1 remove_webcore_debug_symbols=true use_lld=true"
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
set GYP_MSVS_OVERRIDE_PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community
call cef_create_projects.bat
But while running it i see the following error:
WARNING at build arg file (use "gn args <out_dir>" to edit):5:15: Build argument has no effect.
enable_webrtc=false
^----
The variable "enable_webrtc" was set as a build argument
but never appeared in a declare_args() block in any buildfile.
Stuff builds and works, but webrtc is still on. I saw few posts here that webrtc is disabled by default, which is not true apparently. If you go to a site like whoer.net it shows that webrtc is on. What is the correct way to disable it please?