forked from OSchip/llvm-project
[gn build] Don't copy xray includes
The gn build doesn't support xray, so there's no reason to make the xray headers available. Some CMake checks check if xray includes are available to determine if xray is usable. Since we don't build the xray runtime, there are link errors. Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D108737
This commit is contained in:
parent
b91365e0f1
commit
77b6a4bde4
|
@ -19,9 +19,14 @@ copy("include") {
|
||||||
"sanitizer/tsan_interface.h",
|
"sanitizer/tsan_interface.h",
|
||||||
"sanitizer/tsan_interface_atomic.h",
|
"sanitizer/tsan_interface_atomic.h",
|
||||||
"sanitizer/ubsan_interface.h",
|
"sanitizer/ubsan_interface.h",
|
||||||
|
]
|
||||||
|
outputs = [ "$clang_resource_dir/include/{{source_target_relative}}" ]
|
||||||
|
}
|
||||||
|
|
||||||
|
source_set("_unused") {
|
||||||
|
sources = [
|
||||||
"xray/xray_interface.h",
|
"xray/xray_interface.h",
|
||||||
"xray/xray_log_interface.h",
|
"xray/xray_log_interface.h",
|
||||||
"xray/xray_records.h",
|
"xray/xray_records.h",
|
||||||
]
|
]
|
||||||
outputs = [ "$clang_resource_dir/include/{{source_target_relative}}" ]
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue