How can i compile Vivaldi 3.1
-
@taos said:
Great! vivaldi-source_3.1.1929 code is available in https://vivaldi.com/source/
Unfortunately, vivaldi-source/components/request_filter/adblock_filter codes are missing, I cannot compile vivaldi successfully~ (and also vivaldi-source/vivaldi_init_settings.gni file)
Can anyone help this? Thanks!
modedit split from https://forum.vivaldi.net/topic/49314/vivaldi-browser-and-open-source/50
-
@taos Compilable code is not available, nor is it meant to be.
-
@taos said in How can i compile Vivaldi 3.1:
@taos said:
Great! vivaldi-source_3.1.1929 code is available in https://vivaldi.com/source/
Unfortunately, vivaldi-source/components/request_filter/adblock_filter codes are missing, I cannot compile vivaldi successfully~ (and also vivaldi-source/vivaldi_init_settings.gni file)
Can anyone help this? Thanks!
modedit split from https://forum.vivaldi.net/topic/49314/vivaldi-browser-and-open-source/50
Problem solved, 3.2 code is complete. Thanks, vivaldi!
-
@Gwen-Dragon
I skipped 3.1 and downloaded vivaldi 3.2 code in https://vivaldi.com/source/ yesterday. It is OK.
MY instructions used in Windows CMD, hope it will be helpful to you and others:
cd vivaldi-source git init git add README git commit -m "Change-Id: 123" set DEPOT_TOOLS_WIN_TOOLCHAIN=0 set DEPOT_TOOLS_UPDATE=0 # inside chromium/build/vs_toolchain.py # change GetVisualStudioVersion(), return '2019' directly set GYP_MSVS_VERSION=2019 set GYP_MSVS_OVERRIDE_PATH=D:\Visual Studio 2019 # install python 2.7 first pip install future pip install pywin32 # download node8 set PATH=%PATH%;N:\vivaldi-source_x.x.xxxx\vivaldi-source\chromium\third_party\depot_tools\ set PATH=%PATH%;N:\vivaldi-source_x.x.xxxx\vivaldi-source\thirdparty\node8\ # change .gn file, add: default_args.is_component_build = false default_args.symbol_level = 1 # insidethirdparty\gn\src\gn\visual_studio_writer.cc change variable kWindowsKitsDefaultVersion to your win10 SDK version # change chromium\base\BUILD.gn: config("base_win_linker_flags") { ldflags = [ "/DELAYLOAD:cfgmgr32.dll", "/DELAYLOAD:powrprof.dll", "/DELAYLOAD:setupapi.dll", + "/DELAYLOAD:dbghelp.dll", ] } # # Go! # python scripts/runhooks.py ninja -C out/Release vivaldi # copy relavant binaries to another folder # install Vivaldi stable version, copy its resources/ to that folder # DONE!
Berfore, i could compile vivaldi 2.5, 2.8 in one hour. Bu now, it needs two hours, it is bad. It seems the jumbo build feature was removed since chromium 80 .
-