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

Side by Side Diff: third_party/hwcplus/include/log/log.h

Issue 262153002: Revert of Make it possible to build libhardware. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hwc2
Patch Set: Created 6 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005 The Android Open Source Project 2 * Copyright (C) 2005 The Android Open Source Project
3 * 3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License. 5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at 6 * You may obtain a copy of the License at
7 * 7 *
8 * http://www.apache.org/licenses/LICENSE-2.0 8 * http://www.apache.org/licenses/LICENSE-2.0
9 * 9 *
10 * Unless required by applicable law or agreed to in writing, software 10 * Unless required by applicable law or agreed to in writing, software
(...skipping 19 matching lines...) Expand all
30 30
31 #include <stdio.h> 31 #include <stdio.h>
32 #include <time.h> 32 #include <time.h>
33 #include <sys/types.h> 33 #include <sys/types.h>
34 #include <unistd.h> 34 #include <unistd.h>
35 #ifdef HAVE_PTHREADS 35 #ifdef HAVE_PTHREADS
36 #include <pthread.h> 36 #include <pthread.h>
37 #endif 37 #endif
38 #include <stdarg.h> 38 #include <stdarg.h>
39 39
40 #ifdef ANDROID
41 #include <log/uio.h> 40 #include <log/uio.h>
42 #include <log/logd.h> 41 #include <log/logd.h>
43 #else
44 #include <android/log.h>
45 #endif
46 42
47 #ifdef __cplusplus 43 #ifdef __cplusplus
48 extern "C" { 44 extern "C" {
49 #endif 45 #endif
50 46
51 // --------------------------------------------------------------------- 47 // ---------------------------------------------------------------------
52 48
53 /* 49 /*
54 * Normally we strip ALOGV (VERBOSE messages) from release builds. 50 * Normally we strip ALOGV (VERBOSE messages) from release builds.
55 * You can modify this (for example with "#define LOG_NDEBUG 0" 51 * You can modify this (for example with "#define LOG_NDEBUG 0"
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 */ 554 */
559 int __android_log_buf_write(int bufID, int prio, const char *tag, const char *te xt); 555 int __android_log_buf_write(int bufID, int prio, const char *tag, const char *te xt);
560 int __android_log_buf_print(int bufID, int prio, const char *tag, const char *fm t, ...); 556 int __android_log_buf_print(int bufID, int prio, const char *tag, const char *fm t, ...);
561 557
562 558
563 #ifdef __cplusplus 559 #ifdef __cplusplus
564 } 560 }
565 #endif 561 #endif
566 562
567 #endif // _LIBS_CUTILS_LOG_H 563 #endif // _LIBS_CUTILS_LOG_H
OLDNEW
« 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