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

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

Issue 584683002: Improve GN header checker, make //ui pass. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 years, 3 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/compositor/BUILD.gn ('k') | ui/events/BUILD.gn » ('j') | 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 6
7 component("display") { 7 component("display") {
8 sources = [ 8 sources = [
9 "chromeos/display_configurator.cc", 9 "chromeos/display_configurator.cc",
10 "chromeos/display_configurator.h", 10 "chromeos/display_configurator.h",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 component("test_util") { 58 component("test_util") {
59 output_name = "display_test_util" 59 output_name = "display_test_util"
60 sources = [ 60 sources = [
61 "chromeos/test/test_display_snapshot.cc", 61 "chromeos/test/test_display_snapshot.cc",
62 "chromeos/test/test_display_snapshot.h", 62 "chromeos/test/test_display_snapshot.h",
63 ] 63 ]
64 64
65 defines = [ "DISPLAY_IMPLEMENTATION" ] 65 defines = [ "DISPLAY_IMPLEMENTATION" ]
66 66
67 public_deps = [
68 ":display",
69 ]
67 deps = [ 70 deps = [
68 "//base", 71 "//base",
69 "//ui/gfx", 72 "//ui/gfx",
70 "//ui/gfx/geometry", 73 "//ui/gfx/geometry",
71 ] 74 ]
72 75
73 if (is_chromeos) { 76 if (is_chromeos) {
74 deps += [ "//ui/display/types" ] 77 deps += [ "//ui/display/types" ]
75 } 78 }
76 } 79 }
77 80
78 test("display_unittests") { 81 test("display_unittests") {
79 sources = [ 82 sources = [
80 "chromeos/display_configurator_unittest.cc", 83 "chromeos/display_configurator_unittest.cc",
81 "chromeos/x11/display_util_x11_unittest.cc", 84 "chromeos/x11/display_util_x11_unittest.cc",
82 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", 85 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc",
83 "util/display_util_unittest.cc", 86 "util/display_util_unittest.cc",
84 "util/edid_parser_unittest.cc", 87 "util/edid_parser_unittest.cc",
85 ] 88 ]
86 89
87 deps = [ 90 deps = [
91 ":test_util",
92 "//base",
88 "//base/test:run_all_unittests", 93 "//base/test:run_all_unittests",
89 "//testing/gtest", 94 "//testing/gtest",
90 "//ui/display/util", 95 "//ui/display/util",
91 "//ui/gfx/geometry", 96 "//ui/gfx/geometry",
92 ] 97 ]
93 98
94 if (is_chromeos) { 99 if (is_chromeos) {
95 deps += [ 100 deps += [
96 ":display", 101 ":display",
97 ":test_util",
98 "//ui/display/types", 102 "//ui/display/types",
99 ] 103 ]
100 } 104 }
101 } 105 }
OLDNEW
« no previous file with comments | « ui/compositor/BUILD.gn ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698