1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
   59
   60
   61
   62
   63
   64
   65
   66
   67
   68
   69
   70
   71
   72
   73
   74
   75
   76
   77
   78
   79
   80
   81
   82
   83
   84
   85
   86
   87
   88
   89
   90
   91
   92
   93

android_webview / browser / gfx / BUILD.gn [blame]

# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")

source_set("gfx") {
  sources = [
    "aw_draw_fn_impl.cc",
    "aw_draw_fn_impl.h",
    "aw_gl_functor.cc",
    "aw_gl_functor.h",
    "aw_gl_surface.cc",
    "aw_gl_surface.h",
    "aw_gl_surface_external_stencil.cc",
    "aw_gl_surface_external_stencil.h",
    "aw_picture.cc",
    "aw_picture.h",
    "aw_vulkan_context_provider.cc",
    "aw_vulkan_context_provider.h",
    "begin_frame_source_webview.cc",
    "begin_frame_source_webview.h",
    "browser_view_renderer.cc",
    "browser_view_renderer.h",
    "browser_view_renderer_client.h",
    "child_frame.cc",
    "child_frame.h",
    "compositor_frame_consumer.h",
    "compositor_frame_producer.h",
    "display_scheduler_webview.cc",
    "display_scheduler_webview.h",
    "display_webview.cc",
    "display_webview.h",
    "gpu_service_webview.cc",
    "gpu_service_webview.h",
    "hardware_renderer.cc",
    "hardware_renderer.h",
    "java_browser_view_renderer_helper.cc",
    "java_browser_view_renderer_helper.h",
    "output_surface_provider_webview.cc",
    "output_surface_provider_webview.h",
    "overlay_processor_webview.cc",
    "overlay_processor_webview.h",
    "parent_compositor_draw_constraints.cc",
    "parent_compositor_draw_constraints.h",
    "render_thread_manager.cc",
    "render_thread_manager.h",
    "root_frame_sink.cc",
    "root_frame_sink.h",
    "root_frame_sink_proxy.cc",
    "root_frame_sink_proxy.h",
    "scoped_app_gl_state_restore.cc",
    "scoped_app_gl_state_restore.h",
    "scoped_app_gl_state_restore_impl.cc",
    "scoped_app_gl_state_restore_impl.h",
    "scoped_app_gl_state_restore_impl_angle.cc",
    "scoped_app_gl_state_restore_impl_angle.h",
    "skia_output_surface_dependency_webview.cc",
    "skia_output_surface_dependency_webview.h",
    "task_forwarding_sequence.cc",
    "task_forwarding_sequence.h",
    "task_queue_webview.cc",
    "task_queue_webview.h",
    "viz_compositor_thread_runner_webview.cc",
    "viz_compositor_thread_runner_webview.h",
  ]

  deps = [
    "//android_webview:browser_jni_headers",
    "//android_webview/common",
    "//android_webview/public",
    "//base",
    "//components/viz/service",
    "//components/viz/service/main",
    "//content/public/browser",
    "//gpu/command_buffer/client:gles2_implementation",
    "//gpu/command_buffer/service",
    "//gpu/ipc/common:common",
    "//gpu/skia_bindings",
    "//gpu/vulkan:vulkan",
    "//gpu/vulkan/init",
    "//gpu/vulkan/init:skia",
    "//services/viz/privileged/mojom",
    "//services/viz/public/mojom",
    "//skia",
    "//ui/gfx",
    "//ui/gl",
    "//ui/gl/init",
  ]

  libs = [ "jnigraphics" ]
}