[gn build] Remove an unneeded -I flag

Everything includes clang/Config/config.h by qualified "clang/Config/config.h"
path, so there's no need for `-Igen/clang/include/clang/Config/clang/include`.

No behavior change.
This commit is contained in:
Nico Weber 2021-06-24 10:17:13 -04:00
parent 78dc1e4978
commit d57a5879ab
1 changed files with 0 additions and 8 deletions

View File

@ -4,11 +4,6 @@ import("//llvm/utils/gn/build/libs/xml/enable.gni")
import("//llvm/utils/gn/build/write_cmake_config.gni")
import("//llvm/version.gni")
config("Config_config") {
visibility = [ ":Config" ]
include_dirs = [ "$target_gen_dir/clang/include" ]
}
write_cmake_config("Config") {
input = "config.h.cmake"
output = "$target_gen_dir/config.h"
@ -70,7 +65,4 @@ write_cmake_config("Config") {
} else {
values += [ "HOST_LINK_VERSION=" ]
}
# Let targets depending on this find the generated file.
public_configs = [ ":Config_config" ]
}