OLD | NEW |
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 import("//ui/ozone/ozone.gni") |
7 | 7 |
8 assert(use_x11 || ozone_platform_x11) | 8 assert(use_x11 || ozone_platform_x11) |
9 | 9 |
10 # GYP version: //ui/gfx/x/gfx_x11.gyp:gfx_x11 | 10 # GYP version: //ui/gfx/x/gfx_x11.gyp:gfx_x11 |
11 component("x") { | 11 component("x") { |
12 output_name = "gfx_x11" | 12 output_name = "gfx_x11" |
13 | 13 |
14 sources = [ | 14 sources = [ |
15 "../gfx_export.h", | 15 "../gfx_export.h", |
16 "x11_atom_cache.cc", | 16 "x11_atom_cache.cc", |
17 "x11_atom_cache.h", | 17 "x11_atom_cache.h", |
18 "x11_connection.cc", | 18 "x11_connection.cc", |
19 "x11_connection.h", | 19 "x11_connection.h", |
20 "x11_error_tracker.cc", | 20 "x11_error_tracker.cc", |
21 "x11_error_tracker.h", | 21 "x11_error_tracker.h", |
22 "x11_switches.cc", | 22 "x11_switches.cc", |
23 "x11_switches.h", | 23 "x11_switches.h", |
24 "x11_types.cc", | 24 "x11_types.cc", |
25 "x11_types.h", | 25 "x11_types.h", |
26 ] | 26 ] |
27 | 27 |
28 defines = [ "GFX_IMPLEMENTATION" ] | 28 defines = [ "GFX_IMPLEMENTATION" ] |
29 | 29 |
30 configs += [ "//build/config/linux:x11" ] | 30 configs += [ |
| 31 "//build/config/linux:x11", |
| 32 "//build/config/linux:x11-xcb", |
| 33 "//build/config/linux:xcb", |
| 34 ] |
31 | 35 |
32 deps = [ | 36 deps = [ |
33 "//base", | 37 "//base", |
34 ] | 38 ] |
35 } | 39 } |
OLD | NEW |