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

Side by Side Diff: ui/platform_window/x11/BUILD.gn

Issue 1602173005: Add PlatformWindow/Event related code for Ozone X11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final fixes for comments + tests. Created 4 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/ozone/platform/x11/ozone_platform_x11.cc ('k') | ui/platform_window/x11/x11_window.h » ('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 import("//ui/ozone/ozone.gni")
6 7
7 assert(use_x11) 8 assert(use_x11 || ozone_platform_x11)
8 9
9 component("x11") { 10 component("x11") {
10 output_name = "x11_window" 11 output_name = "x11_window"
11 12
12 deps = [ 13 deps = [
13 "//base", 14 "//base",
14 "//skia", 15 "//skia",
15 "//ui/events", 16 "//ui/events",
16 "//ui/events/devices", 17 "//ui/events/devices",
17 "//ui/events/platform", 18 "//ui/events/platform",
18 "//ui/events/platform/x11", 19 "//ui/events/platform/x11",
19 "//ui/gfx/x", 20 "//ui/gfx/x",
20 "//ui/platform_window", 21 "//ui/platform_window",
21 ] 22 ]
22 23
23 configs += [ "//build/config/linux:x11" ] 24 configs += [ "//build/config/linux:x11" ]
24 25
25 defines = [ "X11_WINDOW_IMPLEMENTATION" ] 26 defines = [ "X11_WINDOW_IMPLEMENTATION" ]
26 27
27 sources = [ 28 sources = [
28 "x11_window.cc", 29 "x11_window_base.cc",
29 "x11_window.h", 30 "x11_window_base.h",
30 "x11_window_export.h", 31 "x11_window_export.h",
31 ] 32 ]
33
34 if (ozone_platform_x11) {
35 sources += [
36 "x11_window_ozone.cc",
37 "x11_window_ozone.h",
38 ]
39 } else if (use_x11) {
40 sources += [
41 "x11_window.cc",
42 "x11_window.h",
43 ]
44 }
32 } 45 }
OLDNEW
« no previous file with comments | « ui/ozone/platform/x11/ozone_platform_x11.cc ('k') | ui/platform_window/x11/x11_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698