863237215cab4812df373b63ba3bbf2bc1d8647d |
|
20-Jan-2017 |
Jean-Luc Brouillet <jeanluc@google.com> |
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
/frameworks/rs/tests/cpp_api/common.mk
|
5ea267c29611280002f9916c079fd89a4db299c2 |
|
18-Jan-2017 |
Jean-Luc Brouillet <jeanluc@google.com> |
Use LOCAL_EXPORT_C_INCLUDE_DIRS to simplify makefiles. By using LOCAL_EXPORT_C_INCLUDE_DIRS, the components that use libRScpp and libRScpp_static won't need to specify the include path for libRScpp*. This will make it easier to move things around. Bug: 34265954 Test: Compiled everything. Test: Ran rs-compute Test: Ran HelloComputeNDK Test: Did not run the lldb tests. Change-Id: If676519401a451853037970363651375e1bc3f13
/frameworks/rs/tests/cpp_api/common.mk
|
675b31e949ac0b894732eac2e1e7bb8914c8321f |
|
14-Jan-2017 |
Jean-Luc Brouillet <jeanluc@google.com> |
Extract into common.mk common C++ compile settings. No settings have changed. This is just a refactoring that will make it easier to do further refactoring that will affect includes and libraries. Bug: 34265954 Test: Compiled the files. Test: Ran rstest-compute. Test: Did not run the lldb tests. Change-Id: I9dcc47a22fe4dd28fae73a7cee04c53ca9e5a31d
/frameworks/rs/tests/cpp_api/common.mk
|