| Index: ui/gfx/BUILD.gn
|
| diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
|
| index 110c3f2ad76f12ddc65842ee7a2197a4386b44c5..5e75ecfc19b4e5020335a23c2b045973d37ed2fa 100644
|
| --- a/ui/gfx/BUILD.gn
|
| +++ b/ui/gfx/BUILD.gn
|
| @@ -61,7 +61,6 @@ component("gfx") {
|
| "color_analysis.h",
|
| "color_palette.h",
|
| "color_space.cc",
|
| - "color_space.h",
|
| "color_space_win.cc",
|
| "color_space_win.h",
|
| "color_transform.cc",
|
| @@ -245,6 +244,7 @@ component("gfx") {
|
| defines = [ "GFX_IMPLEMENTATION" ]
|
|
|
| public_deps = [
|
| + ":color_space",
|
| ":memory_buffer_sources",
|
| ":native_widget_types",
|
| ":selection_bound_sources",
|
| @@ -423,6 +423,21 @@ component("gfx") {
|
| }
|
| }
|
|
|
| +# Depend on this to use color_space.h without pulling in all of gfx.
|
| +source_set("color_space") {
|
| + sources = [
|
| + "color_space.h",
|
| + ]
|
| +
|
| + defines = [ "GFX_IMPLEMENTATION" ]
|
| +
|
| + public_deps = [
|
| + ":gfx_export",
|
| + "//base",
|
| + "//skia",
|
| + ]
|
| +}
|
| +
|
| # Depend on this to use native_widget_types.h without pulling in all of gfx.
|
| source_set("native_widget_types") {
|
| public = [
|
| @@ -612,6 +627,8 @@ test("gfx_unittests") {
|
| "geometry/size_unittest.cc",
|
| "geometry/vector2d_unittest.cc",
|
| "geometry/vector3d_unittest.cc",
|
| + "icc_profile_unittest.cc",
|
| + "icc_profile_unittest.h",
|
| "image/image_mac_unittest.mm",
|
| "image/image_util_unittest.cc",
|
| "mac/coordinate_conversion_unittest.mm",
|
|
|