| Index: ui/gfx/BUILD.gn
|
| diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
|
| index c50ffa01426caf98f2833ca28955fe716c747911..179c92b1eeb38af23ad3f15b4493ccbbef96960a 100644
|
| --- a/ui/gfx/BUILD.gn
|
| +++ b/ui/gfx/BUILD.gn
|
| @@ -44,12 +44,8 @@ component("gfx") {
|
| "animation/animation_win.cc",
|
| "animation/linear_animation.cc",
|
| "animation/linear_animation.h",
|
| - "animation/multi_animation.cc",
|
| - "animation/multi_animation.h",
|
| "animation/slide_animation.cc",
|
| "animation/slide_animation.h",
|
| - "animation/throb_animation.cc",
|
| - "animation/throb_animation.h",
|
| "animation/tween.cc",
|
| "animation/tween.h",
|
| "break_list.h",
|
| @@ -68,8 +64,6 @@ component("gfx") {
|
| "color_transform.h",
|
| "color_utils.cc",
|
| "color_utils.h",
|
| - "decorated_text.cc",
|
| - "decorated_text.h",
|
| "favicon_size.cc",
|
| "favicon_size.h",
|
| "font.cc",
|
| @@ -92,8 +86,6 @@ component("gfx") {
|
| "font_render_params_win.cc",
|
| "gdi_util.cc",
|
| "gdi_util.h",
|
| - "gfx_paths.cc",
|
| - "gfx_paths.h",
|
| "icc_profile.cc",
|
| "icc_profile.h",
|
| "icc_profile_mac.mm",
|
| @@ -103,8 +95,6 @@ component("gfx") {
|
| "icon_util.h",
|
| "image/image.cc",
|
| "image/image.h",
|
| - "image/image_family.cc",
|
| - "image/image_family.h",
|
| "image/image_ios.mm",
|
| "image/image_mac.mm",
|
| "image/image_png_rep.cc",
|
| @@ -122,14 +112,10 @@ component("gfx") {
|
| "image/image_util.cc",
|
| "image/image_util.h",
|
| "image/image_util_ios.mm",
|
| - "interpolated_transform.cc",
|
| - "interpolated_transform.h",
|
| "ios/NSString+CrStringDrawing.h",
|
| "ios/NSString+CrStringDrawing.mm",
|
| "ios/uikit_util.h",
|
| "ios/uikit_util.mm",
|
| - "linux_font_delegate.cc",
|
| - "linux_font_delegate.h",
|
| "mac/coordinate_conversion.h",
|
| "mac/coordinate_conversion.mm",
|
| "mac/nswindow_frame_controls.h",
|
| @@ -137,12 +123,6 @@ component("gfx") {
|
| "mac/scoped_cocoa_disable_screen_updates.h",
|
| "nine_image_painter.cc",
|
| "nine_image_painter.h",
|
| - "path.cc",
|
| - "path.h",
|
| - "path_mac.h",
|
| - "path_mac.mm",
|
| - "path_win.cc",
|
| - "path_win.h",
|
| "path_x11.cc",
|
| "path_x11.h",
|
| "platform_font.h",
|
| @@ -155,25 +135,10 @@ component("gfx") {
|
| "platform_font_mac.mm",
|
| "platform_font_win.cc",
|
| "platform_font_win.h",
|
| - "scoped_cg_context_save_gstate_mac.h",
|
| - "scoped_ns_graphics_context_save_gstate_mac.h",
|
| - "scoped_ns_graphics_context_save_gstate_mac.mm",
|
| "scoped_ui_graphics_push_context_ios.h",
|
| "scoped_ui_graphics_push_context_ios.mm",
|
| - "scrollbar_size.cc",
|
| - "scrollbar_size.h",
|
| - "selection_model.cc",
|
| - "selection_model.h",
|
| - "sequential_id_generator.cc",
|
| - "sequential_id_generator.h",
|
| - "shadow_value.cc",
|
| - "shadow_value.h",
|
| - "skbitmap_operations.cc",
|
| - "skbitmap_operations.h",
|
| "skia_util.cc",
|
| "skia_util.h",
|
| - "switches.cc",
|
| - "switches.h",
|
| "sys_color_change_listener.cc",
|
| "sys_color_change_listener.h",
|
| "text_constants.h",
|
| @@ -187,11 +152,6 @@ component("gfx") {
|
| "transform.h",
|
| "transform_util.cc",
|
| "transform_util.h",
|
| - "ui_gfx_exports.cc",
|
| - "utf16_indexing.cc",
|
| - "utf16_indexing.h",
|
| - "vsync_provider.cc",
|
| - "vsync_provider.h",
|
| "win/direct_manipulation.cc",
|
| "win/direct_manipulation.h",
|
| "win/direct_write.cc",
|
| @@ -214,6 +174,10 @@ component("gfx") {
|
| ]
|
| if (!is_ios) {
|
| sources += [
|
| + "animation/multi_animation.cc",
|
| + "animation/multi_animation.h",
|
| + "animation/throb_animation.cc",
|
| + "animation/throb_animation.h",
|
| "blit.cc",
|
| "blit.h",
|
| "canvas.cc",
|
| @@ -223,14 +187,50 @@ component("gfx") {
|
| "canvas_paint_mac.mm",
|
| "canvas_skia.cc",
|
| "canvas_skia_paint.h",
|
| + "decorated_text.cc",
|
| + "decorated_text.h",
|
| + "gfx_paths.cc",
|
| + "gfx_paths.h",
|
| "image/canvas_image_source.cc",
|
| "image/canvas_image_source.h",
|
| + "image/image_family.cc",
|
| + "image/image_family.h",
|
| "image/image_skia_operations.cc",
|
| "image/image_skia_operations.h",
|
| + "interpolated_transform.cc",
|
| + "interpolated_transform.h",
|
| + "linux_font_delegate.cc",
|
| + "linux_font_delegate.h",
|
| "paint_throbber.cc",
|
| "paint_throbber.h",
|
| + "path.cc",
|
| + "path.h",
|
| + "path_mac.h",
|
| + "path_mac.mm",
|
| + "path_win.cc",
|
| + "path_win.h",
|
| "scoped_canvas.cc",
|
| "scoped_canvas.h",
|
| + "scoped_cg_context_save_gstate_mac.h",
|
| + "scoped_ns_graphics_context_save_gstate_mac.h",
|
| + "scoped_ns_graphics_context_save_gstate_mac.mm",
|
| + "scrollbar_size.cc",
|
| + "scrollbar_size.h",
|
| + "selection_model.cc",
|
| + "selection_model.h",
|
| + "sequential_id_generator.cc",
|
| + "sequential_id_generator.h",
|
| + "shadow_value.cc",
|
| + "shadow_value.h",
|
| + "skbitmap_operations.cc",
|
| + "skbitmap_operations.h",
|
| + "switches.cc",
|
| + "switches.h",
|
| + "ui_gfx_exports.cc",
|
| + "utf16_indexing.cc",
|
| + "utf16_indexing.h",
|
| + "vsync_provider.cc",
|
| + "vsync_provider.h",
|
| ]
|
| }
|
|
|
| @@ -491,21 +491,21 @@ source_set("memory_buffer_sources") {
|
| "buffer_format_util.cc",
|
| "buffer_format_util.h",
|
| "buffer_types.h",
|
| - "generic_shared_memory_id.cc",
|
| - "generic_shared_memory_id.h",
|
| "gfx_export.h",
|
| "mac/io_surface.cc",
|
| "mac/io_surface.h",
|
| - "native_pixmap_handle.cc",
|
| - "native_pixmap_handle.h",
|
| ]
|
|
|
| if (!is_ios) {
|
| sources += [
|
| + "generic_shared_memory_id.cc",
|
| + "generic_shared_memory_id.h",
|
| "gpu_memory_buffer.cc",
|
| "gpu_memory_buffer.h",
|
| "gpu_memory_buffer_tracing.cc",
|
| "gpu_memory_buffer_tracing.h",
|
| + "native_pixmap_handle.cc",
|
| + "native_pixmap_handle.h",
|
| ]
|
| }
|
|
|
| @@ -562,7 +562,6 @@ test("gfx_unittests") {
|
| "font_names_testing.h",
|
| "font_render_params_linux_unittest.cc",
|
| "font_unittest.cc",
|
| - "image/image_family_unittest.cc",
|
| "image/image_ios_unittest.mm",
|
| "image/image_skia_unittest.cc",
|
| "image/image_unittest.cc",
|
| @@ -610,6 +609,7 @@ test("gfx_unittests") {
|
| "geometry/size_unittest.cc",
|
| "geometry/vector2d_unittest.cc",
|
| "geometry/vector3d_unittest.cc",
|
| + "image/image_family_unittest.cc",
|
| "image/image_mac_unittest.mm",
|
| "image/image_util_unittest.cc",
|
| "mac/coordinate_conversion_unittest.mm",
|
|
|