diff options
author | Jean-Luc Brouillet <jeanluc@google.com> | 2017-01-19 22:11:40 -0800 |
---|---|---|
committer | Jean-Luc Brouillet <jeanluc@google.com> | 2017-01-20 16:48:57 -0800 |
commit | 863237215cab4812df373b63ba3bbf2bc1d8647d (patch) | |
tree | 8d5b7fd5d956f7cf6aea27a88ce3192c48772e94 /tests/java_api/RsBLAS_Benchmark | |
parent | 8d8fabbccd1dffdb499bbf5264ccc399e1312835 (diff) | |
download | rs-863237215cab4812df373b63ba3bbf2bc1d8647d.tar.gz |
Cleanup makefiles and warning producing code.
Many entries in our makefiles are not needed:
- LOCAL_CPPFLAGS += -fno-exceptions is the default
- LOCAL_MODULE_TARGET_ARCH_WARN is obsolete
- LOCAL_CXX_STL:= libc++ is the default
- LOCAL_MODULE_TAGS := optional is the default
- LOCAL_IS_HOST_MODULE := true is the default if we're using
$include(BUILD_HOST_*). This can't be removed for the generated
subdirectories however without triggering a bug in Ninja.
- Removed the -ldl where not needed.
- LOCAL_CLANG is no longer needed.
Added -Werror -Wall -Wextra to a lot of targets and cleaned up
the code that created errors.
Removed some hacky code that would prevent tests/java_api from
being compiled except under special cicumstances.
Corrected some LOCAL_MODULE_TAGS that should have been set to tests.
Cleanup warning producing code.
Bug: 34265954
Test: Compiled the code.
Test: Ran the cpp test, imageprocessing_jb, and cts
Change-Id: I27da19b18a6c0ac3686bb8c93681e3d870d587fe
Diffstat (limited to 'tests/java_api/RsBLAS_Benchmark')
-rw-r--r-- | tests/java_api/RsBLAS_Benchmark/libsgemm/Android.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/java_api/RsBLAS_Benchmark/libsgemm/Android.mk b/tests/java_api/RsBLAS_Benchmark/libsgemm/Android.mk index 93278694..15c568d3 100644 --- a/tests/java_api/RsBLAS_Benchmark/libsgemm/Android.mk +++ b/tests/java_api/RsBLAS_Benchmark/libsgemm/Android.mk @@ -17,10 +17,9 @@ # LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) -LOCAL_CLANG := true LOCAL_MODULE := libgemmdata -LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := test_data.cpp LOCAL_SDK_VERSION := 14 |