Make cef_config.h discoverable from patched Chromium targets (see issue #2926)

Add the generated includes/ directory to CEF's "config" so that source files
included in patched Chromium targets (for example, blink_glue.cc) can find
cef_config.h which will be included via `include/internal/cef_types_linux.h`
on Linux.
This commit is contained in:
Marshall Greenblatt 2022-02-08 13:12:52 -05:00
parent 4f2b7f1829
commit a74b66352e
1 changed files with 6 additions and 1 deletions

View File

@ -88,7 +88,12 @@ buildflag_header("features") {
# Configuration for all targets that include CEF source code library-side.
config("config") {
# CEF sources use includes relative to the CEF root directory.
include_dirs = [ "//cef" ]
include_dirs = [
"//cef",
# CEF generates some header files that also need to be discoverable.
"$root_out_dir/includes",
]
defines = [
"BUILDING_CEF_SHARED",
"USING_CHROMIUM_INCLUDES",