GN/Win: hook in GPU support
Just a simple oversight... this should make Ganesh work. CQ_INCLUDE_TRYBOTS=master.client.skia.compile:Build-Win-MSVC-x86-Debug-Exceptions-Trybot,Build-Win-MSVC-x86_64-Debug-GN-Trybot,Build-Win-MSVC-x86_64-Release-GN-Trybot GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3382 Change-Id: I90353732a137d004b884cea75f1bd722ede24888 Reviewed-on: https://skia-review.googlesource.com/3382 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
This commit is contained in:
parent
69f6ed40eb
commit
703cf5aa20
5
BUILD.gn
5
BUILD.gn
@ -363,16 +363,19 @@ optional("gpu") {
|
||||
"src/gpu/gl/GrGLDefaultInterface_none.cpp",
|
||||
],
|
||||
"abspath")
|
||||
libs = []
|
||||
if (is_android) {
|
||||
sources += [ "src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp" ]
|
||||
} else if (is_linux) {
|
||||
sources += [ "src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp" ]
|
||||
} else if (is_mac) {
|
||||
sources += [ "src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp" ]
|
||||
} else if (is_win) {
|
||||
sources += [ "src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp" ]
|
||||
libs += [ "OpenGL32.lib" ]
|
||||
} else {
|
||||
sources += [ "src/gpu/gl/GrGLCreateNativeInterface_none.cpp" ]
|
||||
}
|
||||
libs = []
|
||||
|
||||
if (skia_use_vulkan) {
|
||||
public_defines += [ "SK_VULKAN" ]
|
||||
|
Loading…
Reference in New Issue
Block a user