Index: llvm/trunk/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn =================================================================== --- llvm/trunk/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn +++ llvm/trunk/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn @@ -92,6 +92,7 @@ "HAVE_STRERROR=1", "HAVE_SYS_STAT_H=1", "HAVE_SYS_TYPES_H=1", + "HAVE_VALGRIND_VALGRIND_H=", "HAVE__ALLOCA=", "HAVE___ALLOCA=", "HAVE___ASHLDI3=", @@ -152,12 +153,6 @@ ] } - if (current_os == "linux") { - values += [ "HAVE_VALGRIND_VALGRIND_H=1" ] - } else { - values += [ "HAVE_VALGRIND_VALGRIND_H=" ] - } - if (current_os == "mac") { values += [ "HAVE_CRASHREPORTER_INFO=1",