summaryrefslogtreecommitdiff
path: root/compiler/dwarf/dwarf_test.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2015-07-30 08:57:50 -0700
committer Andreas Gampe <agampe@google.com> 2015-07-30 08:57:50 -0700
commitc60e1b755c5632dfeb04c333489ede52ee5c945f (patch)
tree9582a0ffc99e4ad11dcd5d95dd97b09bc6acc5bf /compiler/dwarf/dwarf_test.cc
parent7b926cdacc2b67241bc9cb5f2d4b04b13ca79d0e (diff)
ART: Use __ANDROID__ instead of HAVE_ANDROID_OS
Use the proper define. Change-Id: I71e291ac25f5d5f0187ac9b6ef2d6872f19e6085
Diffstat (limited to 'compiler/dwarf/dwarf_test.cc')
-rw-r--r--compiler/dwarf/dwarf_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/dwarf/dwarf_test.cc b/compiler/dwarf/dwarf_test.cc
index 4d423d007f..a07d27c1d2 100644
--- a/compiler/dwarf/dwarf_test.cc
+++ b/compiler/dwarf/dwarf_test.cc
@@ -27,7 +27,7 @@ namespace art {
namespace dwarf {
// Run the tests only on host since we need objdump.
-#ifndef HAVE_ANDROID_OS
+#ifndef __ANDROID__
constexpr CFIFormat kCFIFormat = DW_DEBUG_FRAME_FORMAT;
@@ -336,7 +336,7 @@ TEST_F(DwarfTest, DebugInfo) {
CheckObjdumpOutput(is64bit, "-W");
}
-#endif // HAVE_ANDROID_OS
+#endif // __ANDROID__
} // namespace dwarf
} // namespace art