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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//device/vr/features/features.gni") 6 import("//device/vr/features/features.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//testing/libfuzzer/fuzzer_test.gni") 8 import("//testing/libfuzzer/fuzzer_test.gni")
9 9
10 if (is_android) { 10 if (is_android) {
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 "scrollbar_size.cc", 156 "scrollbar_size.cc",
157 "scrollbar_size.h", 157 "scrollbar_size.h",
158 "selection_model.cc", 158 "selection_model.cc",
159 "selection_model.h", 159 "selection_model.h",
160 "sequential_id_generator.cc", 160 "sequential_id_generator.cc",
161 "sequential_id_generator.h", 161 "sequential_id_generator.h",
162 "shadow_value.cc", 162 "shadow_value.cc",
163 "shadow_value.h", 163 "shadow_value.h",
164 "skbitmap_operations.cc", 164 "skbitmap_operations.cc",
165 "skbitmap_operations.h", 165 "skbitmap_operations.h",
166 "switches.cc",
167 "switches.h",
168 "sys_color_change_listener.cc", 166 "sys_color_change_listener.cc",
169 "sys_color_change_listener.h", 167 "sys_color_change_listener.h",
170 "text_constants.h", 168 "text_constants.h",
171 "text_elider.cc", 169 "text_elider.cc",
172 "text_elider.h", 170 "text_elider.h",
173 "text_utils.cc", 171 "text_utils.cc",
174 "text_utils.h", 172 "text_utils.h",
175 "text_utils_android.cc", 173 "text_utils_android.cc",
176 "text_utils_ios.mm", 174 "text_utils_ios.mm",
177 "ui_gfx_exports.cc", 175 "ui_gfx_exports.cc",
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 232
235 # This is part of the gfx component in the component build. 233 # This is part of the gfx component in the component build.
236 defines = [ "GFX_IMPLEMENTATION" ] 234 defines = [ "GFX_IMPLEMENTATION" ]
237 235
238 public_deps = [ 236 public_deps = [
239 ":color_space", 237 ":color_space",
240 ":geometry_skia", 238 ":geometry_skia",
241 ":memory_buffer_sources", 239 ":memory_buffer_sources",
242 ":native_widget_types", 240 ":native_widget_types",
243 ":selection_bound_sources", 241 ":selection_bound_sources",
242 ":switches_sources",
244 "//base", 243 "//base",
245 "//skia", 244 "//skia",
246 "//third_party/icu", 245 "//third_party/icu",
247 "//ui/gfx/animation", 246 "//ui/gfx/animation",
248 "//ui/gfx/codec", 247 "//ui/gfx/codec",
249 "//ui/gfx/geometry", 248 "//ui/gfx/geometry",
250 "//ui/gfx/range", 249 "//ui/gfx/range",
251 ] 250 ]
252 deps = [ 251 deps = [
253 ":gfx_export", 252 ":gfx_export",
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 "gpu_memory_buffer.h", 521 "gpu_memory_buffer.h",
523 "gpu_memory_buffer_tracing.cc", 522 "gpu_memory_buffer_tracing.cc",
524 "gpu_memory_buffer_tracing.h", 523 "gpu_memory_buffer_tracing.h",
525 ] 524 ]
526 } 525 }
527 526
528 defines = [ "GFX_IMPLEMENTATION" ] 527 defines = [ "GFX_IMPLEMENTATION" ]
529 528
530 deps = [ 529 deps = [
531 ":native_widget_types", 530 ":native_widget_types",
531 ":switches_sources",
532 "//base", 532 "//base",
533 "//ui/gfx/geometry", 533 "//ui/gfx/geometry",
534 ] 534 ]
535 535
536 if (is_linux) { 536 if (is_linux) {
537 sources += [ 537 sources += [
538 "linux/client_native_pixmap_dmabuf.cc", 538 "linux/client_native_pixmap_dmabuf.cc",
539 "linux/client_native_pixmap_dmabuf.h", 539 "linux/client_native_pixmap_dmabuf.h",
540 "linux/client_native_pixmap_factory_dmabuf.cc", 540 "linux/client_native_pixmap_factory_dmabuf.cc",
541 "linux/client_native_pixmap_factory_dmabuf.h", 541 "linux/client_native_pixmap_factory_dmabuf.h",
542 ] 542 ]
543 543
544 deps += [ "//third_party/libdrm" ] 544 deps += [ "//third_party/libdrm" ]
545 } 545 }
546 } 546 }
547 547
548 source_set("switches_sources") {
549 visibility = [ ":*" ] # Depend on through ":switches_sources".
550
551 sources = [
552 "switches.cc",
553 "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
554 ]
555
556 defines = [ "GFX_IMPLEMENTATION" ]
557
558 deps = [
559 ":gfx_export",
560 "//base",
561 ]
562 }
563
548 static_library("test_support") { 564 static_library("test_support") {
549 testonly = true 565 testonly = true
550 sources = [ 566 sources = [
551 "animation/test_animation_delegate.h", 567 "animation/test_animation_delegate.h",
552 "geometry/test/rect_test_util.cc", 568 "geometry/test/rect_test_util.cc",
553 "geometry/test/rect_test_util.h", 569 "geometry/test/rect_test_util.h",
554 "image/image_unittest_util.cc", 570 "image/image_unittest_util.cc",
555 "image/image_unittest_util.h", 571 "image/image_unittest_util.h",
556 "image/image_unittest_util_ios.mm", 572 "image/image_unittest_util_ios.mm",
557 "image/image_unittest_util_mac.mm", 573 "image/image_unittest_util_mac.mm",
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 783
768 fuzzer_test("color_transform_fuzztest") { 784 fuzzer_test("color_transform_fuzztest") {
769 sources = [ 785 sources = [
770 "color_transform_fuzzer.cc", 786 "color_transform_fuzzer.cc",
771 ] 787 ]
772 deps = [ 788 deps = [
773 ":gfx", 789 ":gfx",
774 ] 790 ]
775 libfuzzer_options = [ "max_len=1024" ] 791 libfuzzer_options = [ "max_len=1024" ]
776 } 792 }
OLDNEW
« 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