Android-x86
Fork

  • R/O
  • HTTP
  • SSH
  • HTTPS

device-generic-goldfish-opengl: コミット

device/generic/goldfish-opengl


コミットメタ情報

リビジョン0a49f1a00860481b606808deae4bbef345353a07 (tree)
日時2017-06-24 05:45:23
作者Lingfeng Yang <lfy@goog...>
コミッターandroid-build-team Robot

ログメッセージ

Fix API 26 for public emulators, take 2

Bug: 37302997
Bug: 62333501

codename changed from O to REL

So add a case for API level too

Test: Build and run sdk_google_aw_x86-userdebug emulator

Change-Id: I91f3804082bc6d61922d31ce72081a2ec88bc6b0
(cherry picked from commit 256462a4a0fb181aca670fba4241e2fe0cd295f8)

変更サマリ

差分

--- a/Android.mk
+++ b/Android.mk
@@ -25,7 +25,11 @@ EMUGL_COMMON_INCLUDES := $(EMUGL_PATH)/host/include/libOpenglRender $(EMUGL_PATH
2525 EMUGL_COMMON_CFLAGS := -DWITH_GLES2 -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
2626
2727 ifeq (O, $(PLATFORM_VERSION_CODENAME))
28- EMUGL_COMMON_CFLAGS += -DGOLDFISH_HIDL_GRALLOC
28+EMUGL_COMMON_CFLAGS += -DGOLDFISH_HIDL_GRALLOC
29+endif
30+
31+ifeq ($(shell test $(PLATFORM_SDK_VERSION) -gt 25 && echo isApi26OrHigher),isApi26OrHigher)
32+EMUGL_COMMON_CFLAGS += -DGOLDFISH_HIDL_GRALLOC
2933 endif
3034
3135 ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 18 && echo PreJellyBeanMr2),PreJellyBeanMr2)
旧リポジトリブラウザで表示