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

Side by Side Diff: ui/gfx/BUILD.gn

Issue 2688413007: Add display::GetDisplayNearestView (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « ui/display/test/test_screen.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//testing/libfuzzer/fuzzer_test.gni") 7 import("//testing/libfuzzer/fuzzer_test.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 public_deps = [ 509 public_deps = [
510 ":gfx", 510 ":gfx",
511 ] 511 ]
512 } else { 512 } else {
513 public_deps = [ 513 public_deps = [
514 ":memory_buffer_sources", 514 ":memory_buffer_sources",
515 ] 515 ]
516 } 516 }
517 } 517 }
518 518
519 source_set("view_util") {
520 sources = [
521 "view_util.h",
boliu 2017/02/14 16:25:46 did you forget to upload these files?
Jinsuk Kim 2017/02/14 22:46:17 Oops... added them.
522 ]
523 if (use_aura) {
524 sources += [ "view_util_aura.cc" ]
525 deps = [
526 "//ui/aura",
527 ]
528 }
529 if (is_android && !use_aura) {
530 sources += [ "view_util_android.cc" ]
531 }
532 if (is_mac) {
533 sources += [ "view_util_mac.mm" ]
534 }
535 }
536
519 # Cannot be a static_library in component builds due to exported functions 537 # Cannot be a static_library in component builds due to exported functions
520 source_set("memory_buffer_sources") { 538 source_set("memory_buffer_sources") {
521 visibility = [ ":*" ] # Depend on through ":memory_buffer". 539 visibility = [ ":*" ] # Depend on through ":memory_buffer".
522 540
523 # TODO(brettw) refactor this so these sources are in a coherent directory 541 # TODO(brettw) refactor this so these sources are in a coherent directory
524 # structure rather than random samplings of ui/gfx and ui/gfx/mac. 542 # structure rather than random samplings of ui/gfx and ui/gfx/mac.
525 sources = [ 543 sources = [
526 "buffer_format_util.cc", 544 "buffer_format_util.cc",
527 "buffer_format_util.h", 545 "buffer_format_util.h",
528 "buffer_types.h", 546 "buffer_types.h",
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 781
764 fuzzer_test("color_transform_fuzztest") { 782 fuzzer_test("color_transform_fuzztest") {
765 sources = [ 783 sources = [
766 "color_transform_fuzzer.cc", 784 "color_transform_fuzzer.cc",
767 ] 785 ]
768 deps = [ 786 deps = [
769 ":gfx", 787 ":gfx",
770 ] 788 ]
771 libfuzzer_options = [ "max_len=1024" ] 789 libfuzzer_options = [ "max_len=1024" ]
772 } 790 }
OLDNEW
« no previous file with comments | « ui/display/test/test_screen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698