Chromium Code Reviews| Index: ui/gfx/BUILD.gn |
| diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn |
| index bbffa8457b00b4be04404e983ececeab47e26629..ed8ed2a1cd6ae895877a0039b17c35c2069144ac 100644 |
| --- a/ui/gfx/BUILD.gn |
| +++ b/ui/gfx/BUILD.gn |
| @@ -21,6 +21,26 @@ source_set("gfx_export") { |
| ] |
| } |
| +component("transform") { |
|
danakj
2017/03/14 21:25:00
Can you put these in geometry?
danakj
2017/03/14 21:36:05
OK this is fine then but I just don't think skia_u
danakj
2017/03/14 21:36:52
Or geometry_skia.. maybe? Less namespacey?
|
| + sources = [ |
| + "skia_util.cc", |
| + "skia_util.h", |
| + "transform.cc", |
| + "transform.h", |
| + "transform_util.cc", |
| + "transform_util.h", |
| + ] |
| + public_deps = [ |
| + ":gfx_export", |
| + ] |
| + deps = [ |
| + "//base", |
| + "//skia", |
| + "//ui/gfx/geometry", |
| + ] |
| + defines = [ "GFX_IMPLEMENTATION" ] |
| +} |
| + |
| component("gfx") { |
| sources = [ |
| "android/gfx_jni_registrar.cc", |
| @@ -172,8 +192,6 @@ component("gfx") { |
| "skbitmap_operations.h", |
| "skia_color_space_util.cc", |
| "skia_color_space_util.h", |
| - "skia_util.cc", |
| - "skia_util.h", |
| "switches.cc", |
| "switches.h", |
| "sys_color_change_listener.cc", |
| @@ -185,10 +203,6 @@ component("gfx") { |
| "text_utils.h", |
| "text_utils_android.cc", |
| "text_utils_ios.mm", |
| - "transform.cc", |
| - "transform.h", |
| - "transform_util.cc", |
| - "transform_util.h", |
| "ui_gfx_exports.cc", |
| "utf16_indexing.cc", |
| "utf16_indexing.h", |
| @@ -255,6 +269,7 @@ component("gfx") { |
| ":memory_buffer_sources", |
| ":native_widget_types", |
| ":selection_bound_sources", |
| + ":transform", |
| "//base", |
| "//skia", |
| "//third_party/icu", |