#include <string>
#include <map>
+#include <inttypes.h>
+
static int64_t gBytesProcessed;
static int64_t gBenchmarkTotalTimeNs;
static int64_t gBenchmarkStartTimeNs;
snprintf(full_name, sizeof(full_name), "%s", name_);
}
- printf("%-20s %10lld %10lld%s\n", full_name,
- static_cast<int64_t>(iterations), gBenchmarkTotalTimeNs/iterations, throughput);
+ printf("%-20s %10d %10" PRId64 "%s\n", full_name,
+ iterations, gBenchmarkTotalTimeNs/iterations, throughput);
fflush(stdout);
}
-Werror \
-fno-builtin \
+ifeq ($(TARGET_ARCH),aarch64)
+ $(info TODO: $(LOCAL_PATH)/Android.mk -fstack-protector not yet available for the AArch64 toolchain)
+ test_c_flags += -fno-stack-protector
+
+ $(info TODO: $(LOCAL_PATH)/Android.mk aarch64 GCC sees things other GCCs do not; punt for now)
+ test_c_flags += -Wno-error=strict-aliasing
+endif # aarch64
+
test_src_files = \
buffer_tests.cpp \
dirent_test.cpp \