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

Unified Diff: ui/gfx/BUILD.gn

Issue 2871893002: color: Ensure solid color IOSurface layers are sRGB (Closed)
Patch Set: Fix up deps Created 3 years, 7 months 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
Index: ui/gfx/BUILD.gn
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
index 89bcfbe020b448e37547770102e11fd84669799c..3e8949d83c289b7cdeed83e57f9f766dc1987974 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -163,8 +163,6 @@ component("gfx") {
"shadow_value.h",
"skbitmap_operations.cc",
"skbitmap_operations.h",
- "switches.cc",
- "switches.h",
"sys_color_change_listener.cc",
"sys_color_change_listener.h",
"text_constants.h",
@@ -241,6 +239,7 @@ component("gfx") {
":memory_buffer_sources",
":native_widget_types",
":selection_bound_sources",
+ ":switches_sources",
"//base",
"//skia",
"//third_party/icu",
@@ -529,6 +528,7 @@ source_set("memory_buffer_sources") {
deps = [
":native_widget_types",
+ ":switches_sources",
"//base",
"//ui/gfx/geometry",
]
@@ -545,6 +545,22 @@ source_set("memory_buffer_sources") {
}
}
+source_set("switches_sources") {
+ visibility = [ ":*" ] # Depend on through ":switches_sources".
+
+ sources = [
+ "switches.cc",
+ "switches.h",
Nico 2017/05/09 21:41:11 These aren't generated or anything -- is the motiv
ccameron 2017/05/10 10:19:31 I don't think so. The motivation was because - I
+ ]
+
+ defines = [ "GFX_IMPLEMENTATION" ]
+
+ deps = [
+ ":gfx_export",
+ "//base",
+ ]
+}
+
static_library("test_support") {
testonly = true
sources = [
« no previous file with comments | « ui/display/mac/screen_mac.mm ('k') | ui/gfx/mac/io_surface.cc » ('j') | ui/gfx/mac/io_surface.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698