Building chromium takes multiple rebaseline operations.
Full logs and details are in https://docs.google.com/document/d/1GZ2-OqSsJyMCzmoQQ3_wu9s96TqXNg5xDdN04sofh0I
Machine is running Win10 Pro
From a vs2015 command prompt, with depot_tools on the path
DEPOT_TOOLS_WIN_TOOLCHAIN=0 [env var]
WindowsSDKVersion=10.0.15063.0\ [env var]
VS2015 and VS2017 installed
>gn args win.debug
[accept the empty args.gn file]
>ninja -C win.debug
[lots of output elided]
../third_party/WebKit/Source/build/win/Precompile.cpp: fatal error C1083: Cannot open include file: '../third_party/WebKit/Source/build/win/Precompile.h': No such file or directory
The compilation refused to continue without this file, so I've manually copied it using:
>robocopy precompile.h* third_party\WebKit\Source\build\win win.debug\third_party\WebKit\Source\build\win
This gets the compilation working, but seems fairly random/odd/unexpected/hacky. Am I doing something wrong, or am I missing something?
Building chromium on a non-corp windows device breaks with a missing header.
Full logs and details are in https://docs.google.com/document/d/1GZ2-OqSsJyMCzmoQQ3_wu9s96TqXNg5xDdN04sofh0I
Machine is running Win10 Pro
From a vs2015 command prompt, with depot_tools on the path
DEPOT_TOOLS_WIN_TOOLCHAIN=0 [env var]
WindowsSDKVersion=10.0.15063.0\ [env var]
VS2015 and VS2017 installed
>gn args win.debug
[accept the empty args.gn file]
>ninja -C win.debug
[lots of output elided]
../third_party/WebKit/Source/build/win/Precompile.cpp: fatal error C1083: Cannot open include file: '../third_party/WebKit/Source/build/win/Precompile.h': No such file or directory
The compilation refused to continue without this file, so I've manually copied it using:
>robocopy precompile.h* third_party\WebKit\Source\build\win win.debug\third_party\WebKit\Source\build\win
This gets the compilation working, but seems fairly random/odd/unexpected/hacky. Am I doing something wrong, or am I missing something?
Cc: sigbjo...@opera.com Summary: Build breakage on fresh tree: missing '../third_party/WebKit/Source/build/win/Precompile.h' (was: Clean windows build: '../third_party/WebKit/Source/build/win/Precompile.h': No such file or directory)
Perhaps gn expects me to be in a different directory when I build? (I'm running gn and calling ninja from the root directory - are others building from inside the blink tree?)
Comment 1 by girard@chromium.org
, Sep 8 2017