 Chromium Code Reviews
 Chromium Code Reviews Issue 252583002:
  Make it possible to build libhardware.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@hwc2
    
  
    Issue 252583002:
  Make it possible to build libhardware.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@hwc2| 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. |