123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- # Copyright 2015 The Chromium Authors. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
- # found in the LICENSE file.
- import("//build/config/ozone.gni")
- source_set("egl") {
- output_name = "egl_native"
- sources = [
- "config.cc",
- "config.h",
- "context.cc",
- "context.h",
- "display.cc",
- "display.h",
- "egl.cc",
- "surface.cc",
- "surface.h",
- "test_support.cc",
- "test_support.h",
- "thread_state.cc",
- "thread_state.h",
- ]
- defines = [
- "EGLAPI=",
- "EGLAPIENTRY=",
- ]
- deps = [
- "//base",
- "//gpu",
- "//gpu/command_buffer/client:gles2_c_lib_nocheck",
- "//gpu/command_buffer/client:gles2_cmd_helper",
- "//gpu/command_buffer/client:gles2_implementation_no_check",
- "//gpu/command_buffer/service",
- "//gpu/command_buffer/service:gles2",
- "//ui/base",
- "//ui/gfx",
- "//ui/gfx/geometry",
- "//ui/gl",
- "//ui/gl/init",
- ]
- if (use_ozone) {
- deps += [ "//ui/ozone" ]
- }
- }
|