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

Unified Diff: third_party/hwcplus/include/cutils/properties.h

Issue 252583002: Make it possible to build libhardware. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hwc2
Patch Set: clean up more lint 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 | « no previous file | third_party/hwcplus/include/stub.h » ('j') | third_party/hwcplus/include/system/graphics.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/hwcplus/include/cutils/properties.h
diff --git a/third_party/hwcplus/include/cutils/properties.h b/third_party/hwcplus/include/cutils/properties.h
index 2c70165b054cf7267339891a8e31bbc6c59591ba..97fd343de9806b57229ed3807936893f5cc20eda 100644
--- a/third_party/hwcplus/include/cutils/properties.h
+++ b/third_party/hwcplus/include/cutils/properties.h
@@ -19,7 +19,6 @@
#include <sys/cdefs.h>
#include <stddef.h>
-#include <sys/system_properties.h>
rjkroege 2014/04/25 21:28:07 could you introduce a #define to leave this also c
#ifdef __cplusplus
extern "C" {
@@ -32,8 +31,8 @@ extern "C" {
** WARNING: system/bionic/include/sys/system_properties.h also defines
** these, but with different names. (TODO: fix that)
*/
-#define PROPERTY_KEY_MAX PROP_NAME_MAX
-#define PROPERTY_VALUE_MAX PROP_VALUE_MAX
+#define PROPERTY_KEY_MAX 32
+#define PROPERTY_VALUE_MAX 92
/* property_get: returns the length of the value which will never be
** greater than PROPERTY_VALUE_MAX - 1 and will always be zero terminated.
« no previous file with comments | « no previous file | third_party/hwcplus/include/stub.h » ('j') | third_party/hwcplus/include/system/graphics.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698