naiveproxy/third_party/blink/renderer/modules/webgl/BUILD.gn
2018-08-14 22:19:20 +00:00

146 lines
4.6 KiB
Plaintext

# Copyright 2016 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("//third_party/blink/renderer/modules/modules.gni")
blink_modules_sources("webgl") {
sources = [
"angle_instanced_arrays.cc",
"angle_instanced_arrays.h",
"ext_blend_min_max.cc",
"ext_blend_min_max.h",
"ext_color_buffer_float.cc",
"ext_color_buffer_float.h",
"ext_color_buffer_half_float.cc",
"ext_color_buffer_half_float.h",
"ext_disjoint_timer_query.cc",
"ext_disjoint_timer_query.h",
"ext_disjoint_timer_query_webgl2.cc",
"ext_disjoint_timer_query_webgl2.h",
"ext_frag_depth.cc",
"ext_frag_depth.h",
"ext_shader_texture_lod.cc",
"ext_shader_texture_lod.h",
"ext_srgb.cc",
"ext_srgb.h",
"ext_texture_filter_anisotropic.cc",
"ext_texture_filter_anisotropic.h",
"gl_string_query.h",
"oes_element_index_uint.cc",
"oes_element_index_uint.h",
"oes_standard_derivatives.cc",
"oes_standard_derivatives.h",
"oes_texture_float.cc",
"oes_texture_float.h",
"oes_texture_float_linear.cc",
"oes_texture_float_linear.h",
"oes_texture_half_float.cc",
"oes_texture_half_float.h",
"oes_texture_half_float_linear.cc",
"oes_texture_half_float_linear.h",
"oes_vertex_array_object.cc",
"oes_vertex_array_object.h",
"webgl2_rendering_context.cc",
"webgl2_rendering_context.h",
"webgl2_rendering_context_base.cc",
"webgl2_rendering_context_base.h",
"webgl_active_info.h",
"webgl_buffer.cc",
"webgl_buffer.h",
"webgl_color_buffer_float.cc",
"webgl_color_buffer_float.h",
"webgl_compressed_texture_astc.cc",
"webgl_compressed_texture_astc.h",
"webgl_compressed_texture_etc.cc",
"webgl_compressed_texture_etc.h",
"webgl_compressed_texture_etc1.cc",
"webgl_compressed_texture_etc1.h",
"webgl_compressed_texture_pvrtc.cc",
"webgl_compressed_texture_pvrtc.h",
"webgl_compressed_texture_s3tc.cc",
"webgl_compressed_texture_s3tc.h",
"webgl_compressed_texture_s3tc_srgb.cc",
"webgl_compressed_texture_s3tc_srgb.h",
"webgl_context_attribute_helpers.cc",
"webgl_context_attribute_helpers.h",
"webgl_context_event.cc",
"webgl_context_event.h",
"webgl_context_group.cc",
"webgl_context_group.h",
"webgl_context_object.cc",
"webgl_context_object.h",
"webgl_debug_renderer_info.cc",
"webgl_debug_renderer_info.h",
"webgl_debug_shaders.cc",
"webgl_debug_shaders.h",
"webgl_depth_texture.cc",
"webgl_depth_texture.h",
"webgl_draw_buffers.cc",
"webgl_draw_buffers.h",
"webgl_extension.cc",
"webgl_extension.h",
"webgl_extension_name.h",
"webgl_fence_sync.cc",
"webgl_fence_sync.h",
"webgl_framebuffer.cc",
"webgl_framebuffer.h",
"webgl_lose_context.cc",
"webgl_lose_context.h",
"webgl_multiview.cc",
"webgl_multiview.h",
"webgl_object.cc",
"webgl_object.h",
"webgl_program.cc",
"webgl_program.h",
"webgl_query.cc",
"webgl_query.h",
"webgl_renderbuffer.cc",
"webgl_renderbuffer.h",
"webgl_rendering_context.cc",
"webgl_rendering_context.h",
"webgl_rendering_context_base.cc",
"webgl_rendering_context_base.h",
"webgl_sampler.cc",
"webgl_sampler.h",
"webgl_shader.cc",
"webgl_shader.h",
"webgl_shader_precision_format.cc",
"webgl_shader_precision_format.h",
"webgl_shared_object.cc",
"webgl_shared_object.h",
"webgl_shared_platform_3d_object.cc",
"webgl_shared_platform_3d_object.h",
"webgl_sync.cc",
"webgl_sync.h",
"webgl_texture.cc",
"webgl_texture.h",
"webgl_timer_query_ext.cc",
"webgl_timer_query_ext.h",
"webgl_transform_feedback.cc",
"webgl_transform_feedback.h",
"webgl_uniform_location.cc",
"webgl_uniform_location.h",
"webgl_vertex_array_object.cc",
"webgl_vertex_array_object.h",
"webgl_vertex_array_object_base.cc",
"webgl_vertex_array_object_base.h",
"webgl_vertex_array_object_oes.cc",
"webgl_vertex_array_object_oes.h",
]
if (support_webgl2_compute_context) {
sources += [
"webgl2_compute_rendering_context.cc",
"webgl2_compute_rendering_context.h",
"webgl2_compute_rendering_context_base.cc",
"webgl2_compute_rendering_context_base.h",
]
}
# The modules/webgl/ directly is a larger module, and
# the implementation depends on a fair chunk of core/ --
# include the core pch for faster Windows compilation times.
configs += [ "//third_party/blink/renderer/core:blink_core_pch" ]
}