зеркало из https://github.com/mozilla/gecko-dev.git
Bug 914554 - Remove a redundant GraphicBufferAlloc.cpp from B2G. r=mwu
This commit is contained in:
Родитель
840767de6b
Коммит
379d9d8e61
|
@ -18,6 +18,7 @@
|
||||||
#include <gui/SurfaceTextureClient.h>
|
#include <gui/SurfaceTextureClient.h>
|
||||||
#else
|
#else
|
||||||
#include <gui/Surface.h>
|
#include <gui/Surface.h>
|
||||||
|
#include <gui/GraphicBufferAlloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <hardware/hardware.h>
|
#include <hardware/hardware.h>
|
||||||
|
@ -25,7 +26,9 @@
|
||||||
#include <hardware/power.h>
|
#include <hardware/power.h>
|
||||||
#include <suspend/autosuspend.h>
|
#include <suspend/autosuspend.h>
|
||||||
|
|
||||||
|
#if ANDROID_VERSION == 17
|
||||||
#include "GraphicBufferAlloc.h"
|
#include "GraphicBufferAlloc.h"
|
||||||
|
#endif
|
||||||
#include "BootAnimation.h"
|
#include "BootAnimation.h"
|
||||||
|
|
||||||
using namespace android;
|
using namespace android;
|
||||||
|
|
|
@ -27,6 +27,7 @@ DEFINES += -DXPCOM_GLUE
|
||||||
LOCAL_INCLUDES += \
|
LOCAL_INCLUDES += \
|
||||||
-I$(ANDROID_SOURCE)/hardware/libhardware/include \
|
-I$(ANDROID_SOURCE)/hardware/libhardware/include \
|
||||||
-I$(ANDROID_SOURCE)/hardware/libhardware_legacy/include \
|
-I$(ANDROID_SOURCE)/hardware/libhardware_legacy/include \
|
||||||
|
-I$(ANDROID_SOURCE)/frameworks/native/include/gui \
|
||||||
-I$(ANDROID_SOURCE)/frameworks/native/opengl/include \
|
-I$(ANDROID_SOURCE)/frameworks/native/opengl/include \
|
||||||
-I$(ANDROID_SOURCE)/system/core/libsuspend/include \
|
-I$(ANDROID_SOURCE)/system/core/libsuspend/include \
|
||||||
-I$(srcdir) \
|
-I$(srcdir) \
|
||||||
|
|
|
@ -20,7 +20,12 @@ CPP_SOURCES += [
|
||||||
'BootAnimation.cpp',
|
'BootAnimation.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG['ANDROID_VERSION'] >= '17':
|
if CONFIG['ANDROID_VERSION'] >= '18':
|
||||||
|
CPP_SOURCES += [
|
||||||
|
'FramebufferSurface.cpp',
|
||||||
|
'GonkDisplayJB.cpp',
|
||||||
|
]
|
||||||
|
elif CONFIG['ANDROID_VERSION'] == '17':
|
||||||
CPP_SOURCES += [
|
CPP_SOURCES += [
|
||||||
'FramebufferSurface.cpp',
|
'FramebufferSurface.cpp',
|
||||||
'GraphicBufferAlloc.cpp',
|
'GraphicBufferAlloc.cpp',
|
||||||
|
|
Загрузка…
Ссылка в новой задаче