1 import("//llvm/utils/gn/build/libs/xml/enable.gni")
2 import("//llvm/utils/gn/build/mac_sdk.gni")
3 import("//llvm/utils/gn/build/sysroot.gni")
6 visibility = [ ":xml" ]
8 if (host_os == "mac") {
9 include_dirs = [ "$mac_sdk_path/usr/include/libxml2" ]
11 include_dirs = [ "$sysroot/usr/include/libxml2" ]
16 if (llvm_enable_libxml2) {
17 public_configs = [ ":xml_config" ]