Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Unified Diff: ui/gfx/BUILD.gn

Issue 2598833002: Add SkColorSpace to gfx::ColorSpace (Closed)
Patch Set: Add tests Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/mojo/BUILD.gn ('k') | ui/gfx/color_space.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « ui/events/mojo/BUILD.gn ('k') | ui/gfx/color_space.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698