Commit 5d6c1c79 by Greg Hartman

Set default thread count to 1 for debug builds.

Change-Id: I14673f17ef0f299a7ead5bc55bd6729f37759b19 Reviewed-on: https://swiftshader-review.googlesource.com/3870Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarGreg Hartman <ghartman@google.com>
parent feccd1db
...@@ -98,6 +98,6 @@ LOCAL_CLANG := true ...@@ -98,6 +98,6 @@ LOCAL_CLANG := true
LOCAL_MODULE := swiftshader_top_debug LOCAL_MODULE := swiftshader_top_debug
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(COMMON_SRC_FILES) LOCAL_SRC_FILES := $(COMMON_SRC_FILES)
LOCAL_CFLAGS := $(COMMON_CFLAGS) -UNDEBUG -g -O0 LOCAL_CFLAGS := $(COMMON_CFLAGS) -UNDEBUG -g -O0 -DDEFAULT_THREAD_COUNT=1
LOCAL_C_INCLUDES := $(COMMON_C_INCLUDES) LOCAL_C_INCLUDES := $(COMMON_C_INCLUDES)
include $(BUILD_STATIC_LIBRARY) include $(BUILD_STATIC_LIBRARY)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment