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

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

Issue 988463003: ui: More work to make Linux 'gn check' clean. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/aura_extra/BUILD.gn ('k') | ui/wm/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("util") { 7 component("util") {
8 output_name = "display_util" 8 output_name = "display_util"
9 sources = [ 9 sources = [
10 "display_util.cc", 10 "display_util.cc",
11 "display_util.h", 11 "display_util.h",
12 "display_util_export.h", 12 "display_util_export.h",
13 "edid_parser.cc", 13 "edid_parser.cc",
14 "edid_parser.h", 14 "edid_parser.h",
15 ] 15 ]
16 16
17 defines = [ "DISPLAY_UTIL_IMPLEMENTATION" ] 17 defines = [ "DISPLAY_UTIL_IMPLEMENTATION" ]
18 18
19 deps = [ 19 deps = [
20 "//base", 20 "//base",
21 "//ui/display/types",
21 "//ui/gfx/geometry", 22 "//ui/gfx/geometry",
22 ] 23 ]
23 24
24 if (use_x11) { 25 if (use_x11) {
25 sources += [ 26 sources += [
26 "x11/edid_parser_x11.cc", 27 "x11/edid_parser_x11.cc",
27 "x11/edid_parser_x11.h", 28 "x11/edid_parser_x11.h",
28 ] 29 ]
29 configs += [ 30 configs += [
30 "//build/config/linux:x11", 31 "//build/config/linux:x11",
31 "//build/config/linux:xrandr", 32 "//build/config/linux:xrandr",
32 ] 33 ]
33 deps += [ "//ui/gfx/x" ] 34 deps += [ "//ui/gfx/x" ]
34 } 35 }
35 if (is_chromeos) { 36 if (is_chromeos) {
36 deps += [ "//ui/display/types" ] 37 deps += [ "//ui/display/types" ]
37 } 38 }
38 } 39 }
OLDNEW
« no previous file with comments | « ui/aura_extra/BUILD.gn ('k') | ui/wm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698