blob: 43c997e602c77a4f207ef2ff5ffe91bc3c2ac606 [file] [log] [blame]
# 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/core/core.gni")
blink_core_sources("svg") {
# Split into multiple static libraries on Windows official builds, where we
# run into a 2GB max size limit.
if (is_win && is_official_build) {
split_count = 5
} else {
split_count = 1
}
sources = [
"animation/smil_time.cc",
"animation/smil_time.h",
"animation/smil_time_container.cc",
"animation/smil_time_container.h",
"animation/svg_smil_element.cc",
"animation/svg_smil_element.h",
"color_distance.cc",
"color_distance.h",
"gradient_attributes.h",
"graphics/filters/svg_fe_image.cc",
"graphics/filters/svg_fe_image.h",
"graphics/filters/svg_filter_builder.cc",
"graphics/filters/svg_filter_builder.h",
"graphics/svg_image.cc",
"graphics/svg_image.h",
"graphics/svg_image_chrome_client.cc",
"graphics/svg_image_chrome_client.h",
"graphics/svg_image_for_container.cc",
"graphics/svg_image_for_container.h",
"linear_gradient_attributes.h",
"pattern_attributes.h",
"properties/svg_animated_property.cc",
"properties/svg_animated_property.h",
"properties/svg_list_property_helper.h",
"properties/svg_list_property_tear_off_helper.h",
"properties/svg_property.h",
"properties/svg_property_helper.h",
"properties/svg_property_info.h",
"properties/svg_property_tear_off.cc",
"properties/svg_property_tear_off.h",
"radial_gradient_attributes.h",
"svg_a_element.cc",
"svg_a_element.h",
"svg_angle.cc",
"svg_angle.h",
"svg_angle_tear_off.cc",
"svg_angle_tear_off.h",
"svg_animate_element.cc",
"svg_animate_element.h",
"svg_animate_motion_element.cc",
"svg_animate_motion_element.h",
"svg_animate_transform_element.cc",
"svg_animate_transform_element.h",
"svg_animated_angle.cc",
"svg_animated_angle.h",
"svg_animated_boolean.h",
"svg_animated_color.cc",
"svg_animated_color.h",
"svg_animated_enumeration.h",
"svg_animated_enumeration_base.cc",
"svg_animated_enumeration_base.h",
"svg_animated_href.cc",
"svg_animated_href.h",
"svg_animated_integer.cc",
"svg_animated_integer.h",
"svg_animated_integer_optional_integer.cc",
"svg_animated_integer_optional_integer.h",
"svg_animated_length.cc",
"svg_animated_length.h",
"svg_animated_length_list.h",
"svg_animated_number.cc",
"svg_animated_number.h",
"svg_animated_number_list.h",
"svg_animated_number_optional_number.cc",
"svg_animated_number_optional_number.h",
"svg_animated_path.cc",
"svg_animated_path.h",
"svg_animated_point_list.h",
"svg_animated_preserve_aspect_ratio.h",
"svg_animated_rect.h",
"svg_animated_string.cc",
"svg_animated_string.h",
"svg_animated_transform_list.h",
"svg_animation_element.cc",
"svg_animation_element.h",
"svg_boolean.cc",
"svg_boolean.h",
"svg_circle_element.cc",
"svg_circle_element.h",
"svg_clip_path_element.cc",
"svg_clip_path_element.h",
"svg_component_transfer_function_element.cc",
"svg_component_transfer_function_element.h",
"svg_defs_element.cc",
"svg_defs_element.h",
"svg_desc_element.cc",
"svg_desc_element.h",
"svg_discard_element.cc",
"svg_discard_element.h",
"svg_document_extensions.cc",
"svg_document_extensions.h",
"svg_element.cc",
"svg_element.h",
"svg_element_rare_data.cc",
"svg_element_rare_data.h",
"svg_ellipse_element.cc",
"svg_ellipse_element.h",
"svg_enumeration.cc",
"svg_enumeration.h",
"svg_enumeration_map.cc",
"svg_enumeration_map.h",
"svg_fe_blend_element.cc",
"svg_fe_blend_element.h",
"svg_fe_color_matrix_element.cc",
"svg_fe_color_matrix_element.h",
"svg_fe_component_transfer_element.cc",
"svg_fe_component_transfer_element.h",
"svg_fe_composite_element.cc",
"svg_fe_composite_element.h",
"svg_fe_convolve_matrix_element.cc",
"svg_fe_convolve_matrix_element.h",
"svg_fe_diffuse_lighting_element.cc",
"svg_fe_diffuse_lighting_element.h",
"svg_fe_displacement_map_element.cc",
"svg_fe_displacement_map_element.h",
"svg_fe_distant_light_element.cc",
"svg_fe_distant_light_element.h",
"svg_fe_drop_shadow_element.cc",
"svg_fe_drop_shadow_element.h",
"svg_fe_flood_element.cc",
"svg_fe_flood_element.h",
"svg_fe_func_a_element.cc",
"svg_fe_func_a_element.h",
"svg_fe_func_b_element.cc",
"svg_fe_func_b_element.h",
"svg_fe_func_g_element.cc",
"svg_fe_func_g_element.h",
"svg_fe_func_r_element.cc",
"svg_fe_func_r_element.h",
"svg_fe_gaussian_blur_element.cc",
"svg_fe_gaussian_blur_element.h",
"svg_fe_image_element.cc",
"svg_fe_image_element.h",
"svg_fe_light_element.cc",
"svg_fe_light_element.h",
"svg_fe_merge_element.cc",
"svg_fe_merge_element.h",
"svg_fe_merge_node_element.cc",
"svg_fe_merge_node_element.h",
"svg_fe_morphology_element.cc",
"svg_fe_morphology_element.h",
"svg_fe_offset_element.cc",
"svg_fe_offset_element.h",
"svg_fe_point_light_element.cc",
"svg_fe_point_light_element.h",
"svg_fe_specular_lighting_element.cc",
"svg_fe_specular_lighting_element.h",
"svg_fe_spot_light_element.cc",
"svg_fe_spot_light_element.h",
"svg_fe_tile_element.cc",
"svg_fe_tile_element.h",
"svg_fe_turbulence_element.cc",
"svg_fe_turbulence_element.h",
"svg_filter_element.cc",
"svg_filter_element.h",
"svg_filter_primitive_standard_attributes.cc",
"svg_filter_primitive_standard_attributes.h",
"svg_fit_to_view_box.cc",
"svg_fit_to_view_box.h",
"svg_foreign_object_element.cc",
"svg_foreign_object_element.h",
"svg_g_element.cc",
"svg_g_element.h",
"svg_geometry_element.cc",
"svg_geometry_element.h",
"svg_gradient_element.cc",
"svg_gradient_element.h",
"svg_graphics_element.cc",
"svg_graphics_element.h",
"svg_image_element.cc",
"svg_image_element.h",
"svg_image_loader.cc",
"svg_image_loader.h",
"svg_integer.cc",
"svg_integer.h",
"svg_integer_optional_integer.cc",
"svg_integer_optional_integer.h",
"svg_length.cc",
"svg_length.h",
"svg_length_context.cc",
"svg_length_context.h",
"svg_length_list.cc",
"svg_length_list.h",
"svg_length_list_tear_off.h",
"svg_length_tear_off.cc",
"svg_length_tear_off.h",
"svg_line_element.cc",
"svg_line_element.h",
"svg_linear_gradient_element.cc",
"svg_linear_gradient_element.h",
"svg_marker_element.cc",
"svg_marker_element.h",
"svg_mask_element.cc",
"svg_mask_element.h",
"svg_matrix_tear_off.cc",
"svg_matrix_tear_off.h",
"svg_metadata_element.cc",
"svg_metadata_element.h",
"svg_mpath_element.cc",
"svg_mpath_element.h",
"svg_number.cc",
"svg_number.h",
"svg_number_list.cc",
"svg_number_list.h",
"svg_number_list_tear_off.h",
"svg_number_optional_number.cc",
"svg_number_optional_number.h",
"svg_number_tear_off.cc",
"svg_number_tear_off.h",
"svg_parser_utilities.cc",
"svg_parser_utilities.h",
"svg_parsing_error.cc",
"svg_parsing_error.h",
"svg_path.cc",
"svg_path.h",
"svg_path_blender.cc",
"svg_path_blender.h",
"svg_path_builder.cc",
"svg_path_builder.h",
"svg_path_byte_stream.h",
"svg_path_byte_stream_builder.cc",
"svg_path_byte_stream_builder.h",
"svg_path_byte_stream_source.cc",
"svg_path_byte_stream_source.h",
"svg_path_consumer.h",
"svg_path_data.h",
"svg_path_element.cc",
"svg_path_element.h",
"svg_path_parser.cc",
"svg_path_parser.h",
"svg_path_query.cc",
"svg_path_query.h",
"svg_path_string_builder.cc",
"svg_path_string_builder.h",
"svg_path_string_source.cc",
"svg_path_string_source.h",
"svg_path_utilities.cc",
"svg_path_utilities.h",
"svg_pattern_element.cc",
"svg_pattern_element.h",
"svg_point.cc",
"svg_point.h",
"svg_point_list.cc",
"svg_point_list.h",
"svg_point_list_tear_off.h",
"svg_point_tear_off.cc",
"svg_point_tear_off.h",
"svg_poly_element.cc",
"svg_poly_element.h",
"svg_polygon_element.cc",
"svg_polygon_element.h",
"svg_polyline_element.cc",
"svg_polyline_element.h",
"svg_preserve_aspect_ratio.cc",
"svg_preserve_aspect_ratio.h",
"svg_preserve_aspect_ratio_tear_off.cc",
"svg_preserve_aspect_ratio_tear_off.h",
"svg_radial_gradient_element.cc",
"svg_radial_gradient_element.h",
"svg_rect.cc",
"svg_rect.h",
"svg_rect_element.cc",
"svg_rect_element.h",
"svg_rect_tear_off.cc",
"svg_rect_tear_off.h",
"svg_resource.cc",
"svg_resource.h",
"svg_resource_client.h",
"svg_script_element.cc",
"svg_script_element.h",
"svg_set_element.cc",
"svg_set_element.h",
"svg_static_string_list.cc",
"svg_static_string_list.h",
"svg_stop_element.cc",
"svg_stop_element.h",
"svg_string.cc",
"svg_string.h",
"svg_string_list.cc",
"svg_string_list.h",
"svg_string_list_tear_off.cc",
"svg_string_list_tear_off.h",
"svg_style_element.cc",
"svg_style_element.h",
"svg_svg_element.cc",
"svg_svg_element.h",
"svg_switch_element.cc",
"svg_switch_element.h",
"svg_symbol_element.cc",
"svg_symbol_element.h",
"svg_tests.cc",
"svg_tests.h",
"svg_text_content_element.cc",
"svg_text_content_element.h",
"svg_text_element.cc",
"svg_text_element.h",
"svg_text_path_element.cc",
"svg_text_path_element.h",
"svg_text_positioning_element.cc",
"svg_text_positioning_element.h",
"svg_title_element.cc",
"svg_title_element.h",
"svg_transform.cc",
"svg_transform.h",
"svg_transform_distance.cc",
"svg_transform_distance.h",
"svg_transform_list.cc",
"svg_transform_list.h",
"svg_transform_list_tear_off.cc",
"svg_transform_list_tear_off.h",
"svg_transform_tear_off.cc",
"svg_transform_tear_off.h",
"svg_tree_scope_resources.cc",
"svg_tree_scope_resources.h",
"svg_tspan_element.cc",
"svg_tspan_element.h",
"svg_unit_types.cc",
"svg_unit_types.h",
"svg_unknown_element.cc",
"svg_unknown_element.h",
"svg_uri_reference.cc",
"svg_uri_reference.h",
"svg_use_element.cc",
"svg_use_element.h",
"svg_view_element.cc",
"svg_view_element.h",
"svg_view_spec.cc",
"svg_view_spec.h",
"svg_zoom_and_pan.cc",
"svg_zoom_and_pan.h",
]
}