New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 763431 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Build breakage on fresh tree: missing '../third_party/WebKit/Source/build/win/Precompile.h'

Project Member Reported by girard@chromium.org, Sep 8 2017

Issue description

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?
 
Description: Show this description
Labels: OS-Windows

Comment 3 by girard@chromium.org, Sep 28 2017

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?)

Sign in to add a comment