diff options
author | 2016-09-29 08:08:05 -0700 | |
---|---|---|
committer | 2016-12-22 13:55:11 -0800 | |
commit | a5e161b1207ef447a51e99856097d69d4a6111e1 (patch) | |
tree | d733d77cbafe352fd20935eab60435a365beb8af /vulkan/libvulkan/api.cpp | |
parent | c47aa53c84cc7ac0194057c3afac005437d5ae2b (diff) |
Replace cutils/log.h and rationalize log/log.h and android/log.h
- cutils/log.h treat as deprecated and lead by example
- android/log.h to be used instead of log/log.h if required
- add system includes that are assumed as side effects of log.h
- modules that use SLOG should use SLOG for all logging (installd)
- define LOG_TAG first
- remove logging infrastructure if not used
Test: build
Bug: 31289077
Change-Id: Iea147a0104c7ab7f12451304131d6500f42141e7
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
-rw-r--r-- | vulkan/libvulkan/api.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vulkan/libvulkan/api.cpp b/vulkan/libvulkan/api.cpp index b699fe97fc..4d30bbb965 100644 --- a/vulkan/libvulkan/api.cpp +++ b/vulkan/libvulkan/api.cpp @@ -27,8 +27,9 @@ #include <mutex> #include <new> #include <utility> + +#include <android/log.h> #include <cutils/properties.h> -#include <log/log.h> #include <vulkan/vk_layer_interface.h> #include "api.h" |