Fix golem build
ART_CLANG_PATH is not defined (or needed) on golem.
Bug: 147817558
Test: m build-art-target-golem build-art-host-golem
Change-Id: I635b7b86fb8120954d206601590df42b505e87cf
diff --git a/libartbase/base/common_art_test.cc b/libartbase/base/common_art_test.cc
index fd6da87..6c19138 100644
--- a/libartbase/base/common_art_test.cc
+++ b/libartbase/base/common_art_test.cc
@@ -301,9 +301,9 @@
// Get prebuilt binary tool.
// The paths need to be updated when Android prebuilts update.
std::string CommonArtTestImpl::GetAndroidTool(const char* name, InstructionSet) {
-#ifdef ART_TARGET_ANDROID
+#ifndef ART_CLANG_PATH
UNUSED(name);
- LOG(FATAL) << "There are no prebuilt tools available when running on target.";
+ LOG(FATAL) << "There are no prebuilt tools available.";
UNREACHABLE();
#else
std::string path = GetAndroidBuildTop() + ART_CLANG_PATH + "/bin/";