| Index: skia/BUILD.gn
|
| diff --git a/skia/BUILD.gn b/skia/BUILD.gn
|
| index 853e365e9a95c9dd051bf57bdb6a29f0b5ec7109..90db4614b88a3ddb92f0bc9686f3566b3e1df5ee 100644
|
| --- a/skia/BUILD.gn
|
| +++ b/skia/BUILD.gn
|
| @@ -5,6 +5,7 @@
|
| import("//build/config/features.gni")
|
| import("//build/config/ui.gni")
|
| import("//build/config/sanitizers/sanitizers.gni")
|
| +import("//device/vr/features/features.gni")
|
| import("//printing/features/features.gni")
|
| import("//testing/test.gni")
|
| import("//third_party/skia/gn/shared_sources.gni")
|
| @@ -430,6 +431,21 @@ component("skia") {
|
| deps += [ "//build/config/freetype" ]
|
| }
|
|
|
| + if (is_android && enable_vr) {
|
| + sources -= [
|
| + "//third_party/skia/src/gpu/gl/GrGLCreateNativeInterface_none.cpp",
|
| + "//third_party/skia/src/gpu/gl/GrGLDefaultInterface_none.cpp",
|
| + ]
|
| + sources += [
|
| + "//third_party/skia/src/gpu/gl/GrGLDefaultInterface_native.cpp",
|
| + "//third_party/skia/src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp",
|
| + ]
|
| + libs = [
|
| + "EGL",
|
| + "GLESv2",
|
| + ]
|
| + }
|
| +
|
| if (skia_support_pdf) {
|
| deps += [
|
| "//third_party/sfntly",
|
|
|