Exclude gl files for Fuchsia platform.

Fuchsia platform supports only vulkan. So exclude all gl files and
add vulkan files for building Skia on Fuchsia.

Change-Id: I2593a14926747b1154a1134bfdd43772627110a4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/301739
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
This commit is contained in:
Guruji Panda 2020-07-10 00:54:27 -07:00 committed by Skia Commit-Bot
parent aaf738cf27
commit c1f3f8cda4

View File

@ -235,6 +235,10 @@ BASE_SRCS_ALL = struct(
# Conflicting dependencies among Lua versions. See cl/107087297.
"src/utils/SkLua*",
# Exclude all GL specific files
"src/gpu/gl/*",
"src/gpu/gl/builders/*",
# Currently exclude all vulkan specific files
"src/gpu/vk/*",
@ -266,6 +270,8 @@ def codec_srcs(limited):
GL_SRCS_UNIX = struct(
include = [
"src/gpu/gl/*",
"src/gpu/gl/builders/*",
"src/gpu/gl/GrGLMakeNativeInterface_none.cpp",
],
exclude = [],
@ -296,6 +302,8 @@ PORTS_SRCS_UNIX = struct(
GL_SRCS_ANDROID = struct(
include = [
"src/gpu/gl/*",
"src/gpu/gl/builders/*",
"src/gpu/gl/android/*.cpp",
],
exclude = [],
@ -327,6 +335,8 @@ PORTS_SRCS_ANDROID = struct(
GL_SRCS_IOS = struct(
include = [
"src/gpu/gl/*",
"src/gpu/gl/builders/*",
"src/gpu/gl/iOS/GrGLMakeNativeInterface_iOS.cpp",
],
exclude = [],
@ -362,6 +372,8 @@ PORTS_SRCS_IOS = struct(
GL_SRCS_WASM = struct(
include = [
"src/gpu/gl/*",
"src/gpu/gl/builders/*",
"src/gpu/gl/GrGLMakeNativeInterface_egl.cpp",
"src/gpu/gl/egl/GrGLMakeNativeInterface_egl.cpp",
],
@ -403,7 +415,7 @@ PORTS_SRCS_WASM = struct(
GL_SRCS_FUCHSIA = struct(
include = [
"src/gpu/gl/GrGLMakeNativeInterface_none.cpp",
"src/gpu/vk/*",
],
exclude = [],
)