Skip to content

Commit

Permalink
Add chromium_config_dir to default include dirs
Browse files Browse the repository at this point in the history
In Chromium "//" is where all build files are, however here the build
files are put under a different folder. Put it in the default include
dirs since many Chromium code assumes so.
  • Loading branch information
zcbenz committed Mar 9, 2023
1 parent 9e1622f commit 1838da1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build/config/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,10 @@ config("default_include_dirs") {
"//",
root_gen_dir,
]
# PATCH(build-gn): Search through bundled build and third_party dirs.
if (defined(chromium_config_dir)) {
include_dirs += [ chromium_config_dir ]
}
}

# Compiler instrumentation can introduce dependencies in DSOs to symbols in
Expand Down
2 changes: 1 addition & 1 deletion tools/gn
Submodule gn updated 1 files
+3 −0 src/gn/functions.cc

0 comments on commit 1838da1

Please sign in to comment.