Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: third_party/hwcplus/include/log/log.h

Issue 252583002: Make it possible to build libhardware. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hwc2
Patch Set: add copyright Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/hwcplus/include/hardware/hardware.h ('k') | third_party/hwcplus/include/system/graphics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/hwcplus/include/log/log.h
diff --git a/third_party/hwcplus/include/log/log.h b/third_party/hwcplus/include/log/log.h
index 7faddea914e175b9f24b5d0c918d8cc262c54da6..4677ed4d9336cc82ae2df01b730d3804f0be79b8 100644
--- a/third_party/hwcplus/include/log/log.h
+++ b/third_party/hwcplus/include/log/log.h
@@ -37,8 +37,12 @@
#endif
#include <stdarg.h>
+#ifdef ANDROID
#include <log/uio.h>
#include <log/logd.h>
+#else
+#include <android/log.h>
+#endif
#ifdef __cplusplus
extern "C" {
« no previous file with comments | « third_party/hwcplus/include/hardware/hardware.h ('k') | third_party/hwcplus/include/system/graphics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698