diff options
author | 2016-09-29 08:08:05 -0700 | |
---|---|---|
committer | 2017-01-11 15:07:17 -0800 | |
commit | 7823e124e00576e20e47ec717cbe8bc89f0f2bf2 (patch) | |
tree | b0d7ec03dfc3d58408a9616b7125a77a4ca4439c /vulkan/libvulkan/driver.cpp | |
parent | 5cfc1c0546d797ebca9bdc3645585e33cc0c1193 (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 possible
- add system includes that are assumed as side effects
- define LOG_TAG first
Test: compile
Bug: 31289077
Bug: 30465923
Change-Id: I8d99b24c333578c9b5aa9f2a01324bd0bba268dd
Diffstat (limited to 'vulkan/libvulkan/driver.cpp')
-rw-r--r-- | vulkan/libvulkan/driver.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vulkan/libvulkan/driver.cpp b/vulkan/libvulkan/driver.cpp index 25552724d5..56396f467f 100644 --- a/vulkan/libvulkan/driver.cpp +++ b/vulkan/libvulkan/driver.cpp @@ -14,13 +14,16 @@ * limitations under the License. */ +#include <malloc.h> #include <stdlib.h> #include <string.h> +#include <sys/prctl.h> + #include <algorithm> #include <array> #include <new> -#include <malloc.h> -#include <sys/prctl.h> + +#include <log/log.h> #include "driver.h" #include "stubhal.h" |