Files
rk35xx-android14/toolchain/benchmark/synthmark.diff
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

23 lines
767 B
Diff

diff --git a/Android.mk b/Android.mk
index e1d89db..3970857 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1 +1,16 @@
-# This file is intentionally empty, to prevent a platform build from descending further
+# Copyright 2017 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE_TAGS := tests
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/source
+LOCAL_SRC_FILES:= apps/synthmark.cpp
+LOCAL_CFLAGS += -g -std=c++11 -Ofast
+LOCAL_CFLAGS += $(CFLAGS_FOR_BENCH_SUITE)
+LOCAL_LDFLAGS += $(LDFLAGS_FOR_BENCH_SUITE)
+#LOCAL_SHARED_LIBRARIES := libcutils libutils
+LOCAL_MODULE := synthmark
+include $(BUILD_EXECUTABLE)