summaryrefslogtreecommitdiff
path: root/runtime/native_stack_dump.cc
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2022-06-08 14:58:39 +0100
committer Treehugger Robot <treehugger-gerrit@google.com> 2022-06-08 17:28:02 +0000
commita974baaa563da2a44d4ec9dc7506ce2bc8d9dfc0 (patch)
treef93359124e5f02a4bc063c7b5d2adbb0a9361346 /runtime/native_stack_dump.cc
parent5009eb53b99130e0360f03b7799d803d3064e20e (diff)
Fix golem build.
Bug: 235228755 Test: ART_TARGET_LINUX=true m build-art-target-golem Change-Id: Ib336497b21fde5eae9a7923a1c93266d90852b32
Diffstat (limited to 'runtime/native_stack_dump.cc')
-rw-r--r--runtime/native_stack_dump.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/native_stack_dump.cc b/runtime/native_stack_dump.cc
index 1f09f45a5c..31deda10b6 100644
--- a/runtime/native_stack_dump.cc
+++ b/runtime/native_stack_dump.cc
@@ -69,7 +69,7 @@ using android::base::StringPrintf;
static constexpr bool kUseAddr2line = !kIsTargetBuild;
std::string FindAddr2line() {
-#if !defined(ART_TARGET_ANDROID) and !defined(ART_CLANG_PATH)
+#if !defined(ART_TARGET) && !defined(ART_CLANG_PATH)
#error "ART_CLANG_PATH must be defined on host build"
#endif
#if defined(ART_CLANG_PATH)