Issue metadata
Sign in to add a comment
|
headless_lib build error ../../headless/lib/browser/headless_devtools_manager_delegate.h:18:10: fatal error: 'printing/features/features.h' file not found
Reported by
dcole...@gmail.com,
Feb 4 2018
|
||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/64.0.3282.119 Chrome/64.0.3282.119 Safari/537.36
Steps to reproduce the problem:
1. fetch --no-history chromium
2. gclient runhooks
3. mkdir -p out/Headless
4. echo 'import("//build/args/headless.gn")' > out/Headless/args.gn
5. echo 'is_debug = false' >> out/Headless/args.gn
6. gn gen out/Headless
7. ninja -C out/Headless headless_lib
What is the expected behavior?
headless_lib built
What went wrong?
error:
In file included from ../../headless/lib/browser/headless_browser_impl_aura.cc:5:
In file included from ../../headless/lib/browser/headless_browser_impl.h:18:
../../headless/lib/browser/headless_devtools_manager_delegate.h:18:10: fatal error: 'printing/features/features.h' file not found
#include "printing/features/features.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Did this work before? Yes
Chrome version: git Channel: canary
OS Version: Ubuntu 17.10
Flash Version:
headless_shell/example build with success though
,
Feb 16 2018
Still can't build headless_lib with lastest chromium sources - same error
,
Mar 9 2018
Sorry for the delay. This might be a dependency issue with the headless_lib target. Could you try to build headless_shell instead?
,
Mar 16 2018
headless_shell/headless_example builds ok
,
Apr 1 2018
Since the last commit (https://chromium.googlesource.com/chromium/src/+/318a55fc28aa04351073f5e08fbd6c1fd6b05ae5) error changed to: In file included from ../../headless/lib/browser/headless_browser_impl_aura.cc:5: In file included from ../../headless/lib/browser/headless_browser_impl.h:18: ../../headless/lib/browser/headless_devtools_manager_delegate.h:18:10: fatal error: 'printing/buildflags/buildflags.h' file not found #include "printing/buildflags/buildflags.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I think it's because "buildflags.h" 've not been generated from "printing/buildflags/buildflags.gni" so there's no "out/headless/gen/printing" directory at all. Adding "enable_basic_printing = false" to args.gn doesn't help |
|||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||
Comment 1 by krajshree@chromium.org
, Feb 4 2018