Remove libcutils dependency.
- Implement property_get using __system_property_get, remove
dependencies on cutils/properties.h.
- remove rsCompatibilityLib.cpp since it only contains propery_get, and
it is now in rsCppUtils.cpp.
- Disable ATRACE. The systrace is current done in Java level. If we
want to do it in the driver, we need to have our own implementation
similar to native/utils/trace.cc
- Remove CC_LIKELY macro.
Bug: 34396220
Test: build
Change-Id: I6a6cbcfb2ca15b9d1f09b9ce0579d39fdbe98727
diff --git a/rsCppUtils.h b/rsCppUtils.h
index 14c2c48..6932bab 100644
--- a/rsCppUtils.h
+++ b/rsCppUtils.h
@@ -298,6 +298,11 @@
bool rsuExecuteCommand(const char *exe, int nArgs, const char * const *args);
#endif
+// from cutils/properties.h
+#define PROPERTY_KEY_MAX 32
+#define PROPERTY_VALUE_MAX 92
+
+int property_get(const char *key, char *value, const char *default_value);
} // namespace renderscript
} // namespace android