gfxstream: reduce use of PLATFORM_SDK_VERSION
It's way past API-level 26 now. Reviewed-by: Aaron Ruby <aruby@blackberry.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246>
This commit is contained in:
committed by
Marge Bot
parent
5dc2d5f5c5
commit
833850c606
@@ -29,12 +29,7 @@
|
||||
#if defined(__ANDROID__)
|
||||
#include "android-base/properties.h"
|
||||
#endif
|
||||
#if PLATFORM_SDK_VERSION < 26
|
||||
#include <cutils/log.h>
|
||||
#else
|
||||
#include <log/log.h>
|
||||
#endif
|
||||
|
||||
|
||||
static const size_t kReadSize = 512 * 1024;
|
||||
static const size_t kWriteOffset = kReadSize;
|
||||
|
||||
@@ -15,11 +15,7 @@
|
||||
*/
|
||||
#include "CommandBufferStagingStream.h"
|
||||
|
||||
#if PLATFORM_SDK_VERSION < 26
|
||||
#include <cutils/log.h>
|
||||
#else
|
||||
#include <log/log.h>
|
||||
#endif
|
||||
#include <cutils/properties.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in New Issue
Block a user