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

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

Issue 843583006: GN: Add -Wl,-z defs on linux and fix errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 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/base/BUILD.gn ('k') | ui/events/platform/x11/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/gfx/geometry", 21 "//ui/gfx/geometry",
22 ] 22 ]
23 23
24 if (use_x11) { 24 if (use_x11) {
25 sources += [ 25 sources += [
26 "x11/edid_parser_x11.cc", 26 "x11/edid_parser_x11.cc",
27 "x11/edid_parser_x11.h", 27 "x11/edid_parser_x11.h",
28 ] 28 ]
29 configs += [ "//build/config/linux:xrandr" ] 29 configs += [
30 "//build/config/linux:x11",
31 "//build/config/linux:xrandr",
32 ]
30 deps += [ "//ui/gfx/x" ] 33 deps += [ "//ui/gfx/x" ]
31 } 34 }
32 if (is_chromeos) { 35 if (is_chromeos) {
33 deps += [ "//ui/display/types" ] 36 deps += [ "//ui/display/types" ]
34 } 37 }
35 } 38 }
OLDNEW
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/events/platform/x11/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698