You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
609 B
14 lines
609 B
# Use allocator_shim_override_linker_wrapped_symbols.h for ANDROID.
|
|
|
|
--- a/base/allocator/allocator_shim.cc
|
|
+++ b/base/allocator/allocator_shim.cc
|
|
@@ -285,7 +285,7 @@ ALWAYS_INLINE void ShimFreeDefiniteSize(void* ptr, size_t size, void* context) {
|
|
#include "base/allocator/allocator_shim_override_cpp_symbols.h"
|
|
#endif
|
|
|
|
-#if defined(OS_ANDROID)
|
|
+#if defined(OS_ANDROID) || defined(ANDROID)
|
|
// Android does not support symbol interposition. The way malloc symbols are
|
|
// intercepted on Android is by using link-time -wrap flags.
|
|
#include "base/allocator/allocator_shim_override_linker_wrapped_symbols.h"
|