[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:
Arthur Eubanks 2021-08-25 15:24:49 -07:00
parent b91365e0f1
commit 77b6a4bde4
1 changed files with 6 additions and 1 deletions

View File

@ -19,9 +19,14 @@ copy("include") {
"sanitizer/tsan_interface.h",
"sanitizer/tsan_interface_atomic.h",
"sanitizer/ubsan_interface.h",
]
outputs = [ "$clang_resource_dir/include/{{source_target_relative}}" ]
}
source_set("_unused") {
sources = [
"xray/xray_interface.h",
"xray/xray_log_interface.h",
"xray/xray_records.h",
]
outputs = [ "$clang_resource_dir/include/{{source_target_relative}}" ]
}