mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
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:
@@ -88,7 +88,12 @@ buildflag_header("features") {
|
|||||||
# Configuration for all targets that include CEF source code library-side.
|
# Configuration for all targets that include CEF source code library-side.
|
||||||
config("config") {
|
config("config") {
|
||||||
# CEF sources use includes relative to the CEF root directory.
|
# 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 = [
|
defines = [
|
||||||
"BUILDING_CEF_SHARED",
|
"BUILDING_CEF_SHARED",
|
||||||
"USING_CHROMIUM_INCLUDES",
|
"USING_CHROMIUM_INCLUDES",
|
||||||
|
Reference in New Issue
Block a user