[Bazel] Enable GPU for Android build.

No-Try: true
Change-Id: Icaa25a6dde9d6ca1c75cba03b4250b6248f75952
Reviewed-on: https://skia-review.googlesource.com/147806
Commit-Queue: Mike Klein <mtklein@google.com>
Auto-Submit: Ben Wagner <benjaminwagner@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
This commit is contained in:
Ben Wagner 2018-08-17 09:28:53 -04:00 committed by Skia Commit-Bot
parent d74f2c8972
commit 773151fec9

View File

@ -315,8 +315,7 @@ BASE_SRCS_UNIX = struct(
# Platform-dependent SRCS for google3-default Android.
BASE_SRCS_ANDROID = struct(
include = [
"src/gpu/gl/GrGLMakeNativeInterface_none.cpp",
# TODO(benjaminwagner): Figure out how to compile with EGL.
"src/gpu/gl/android/*.cpp",
"src/ports/**/*.cpp",
"src/ports/**/*.h",
],
@ -652,6 +651,7 @@ def base_linkopts(os_conditions):
# ANDROID
[
"-lEGL",
"-lGLESv2",
],
# IOS
[