1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[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 5e0256758b
commit 64fb2ced44

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