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

Side by Side Diff: ui/ozone/platform/dri/BUILD.gn

Issue 427853004: Move libdrm target behind conditional (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | Annotate | Revision Log
« build/linux/system.gyp ('K') | « build/linux/system.gyp ('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/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 import("//ui/ozone/ozone.gni") 6 import("//ui/ozone/ozone.gni")
7 7
8 if (ozone_platform_dri || ozone_platform_gbm) {
spang 2014/07/29 21:43:03 is this condition really needed? I think just movi
dnicoara 2014/07/29 21:50:49 Done.
9 pkg_config("libdrm") {
10 packages = [ "libdrm" ]
11 }
12 }
13
8 source_set("dri_common") { 14 source_set("dri_common") {
9 sources = [ 15 sources = [
10 "chromeos/display_mode_dri.cc", 16 "chromeos/display_mode_dri.cc",
11 "chromeos/display_mode_dri.h", 17 "chromeos/display_mode_dri.h",
12 "chromeos/display_snapshot_dri.cc", 18 "chromeos/display_snapshot_dri.cc",
13 "chromeos/display_snapshot_dri.h", 19 "chromeos/display_snapshot_dri.h",
14 "chromeos/native_display_delegate_dri.cc", 20 "chromeos/native_display_delegate_dri.cc",
15 "chromeos/native_display_delegate_dri.h", 21 "chromeos/native_display_delegate_dri.h",
16 "cursor_factory_evdev_dri.cc", 22 "cursor_factory_evdev_dri.cc",
17 "cursor_factory_evdev_dri.h", 23 "cursor_factory_evdev_dri.h",
(...skipping 30 matching lines...) Expand all
48 "//ipc", 54 "//ipc",
49 "//ui/base", 55 "//ui/base",
50 "//ui/display/types", 56 "//ui/display/types",
51 "//ui/events", 57 "//ui/events",
52 "//ui/events/ozone:events_ozone_evdev", 58 "//ui/events/ozone:events_ozone_evdev",
53 "//ui/gfx", 59 "//ui/gfx",
54 "//ui/gfx/geometry", 60 "//ui/gfx/geometry",
55 ] 61 ]
56 62
57 direct_dependent_configs = [ 63 direct_dependent_configs = [
58 "//build/config/linux:libdrm", 64 ":libdrm",
59 ] 65 ]
60 } 66 }
61 67
62 if (ozone_platform_dri) { 68 if (ozone_platform_dri) {
63 source_set("dri") { 69 source_set("dri") {
64 sources = [ 70 sources = [
65 "ozone_platform_dri.cc", 71 "ozone_platform_dri.cc",
66 "ozone_platform_dri.h", 72 "ozone_platform_dri.h",
67 ] 73 ]
68 74
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 "//base", 132 "//base",
127 "//skia", 133 "//skia",
128 "//ui/events/ozone:events_ozone_evdev", 134 "//ui/events/ozone:events_ozone_evdev",
129 ] 135 ]
130 136
131 direct_dependent_configs = [ 137 direct_dependent_configs = [
132 ":libgbm", 138 ":libgbm",
133 ] 139 ]
134 } 140 }
135 } 141 }
OLDNEW
« build/linux/system.gyp ('K') | « build/linux/system.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698