summaryrefslogtreecommitdiff
path: root/chromium/ui/base/x/BUILD.gn
blob: 10d0bcc8de299117cbd768afaf69b4001d1028e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/ui.gni")
import("//ui/ozone/ozone.gni")

assert(use_x11 || ozone_platform_x11)

component("x") {
  output_name = "ui_base_x"

  sources = [
    "ui_base_x_export.h",
    "x11_menu_list.cc",
    "x11_menu_list.h",
    "x11_util.cc",
    "x11_util.h",
    "x11_util_internal.h",
    "x11_window_event_manager.cc",
    "x11_window_event_manager.h",
  ]

  configs += [ "//build/config/linux:x11" ]

  defines = [ "UI_BASE_X_IMPLEMENTATION" ]

  deps = [
    "//base",
    "//base:i18n",
    "//skia",
    "//ui/events",
    "//ui/events/devices/x11",
    "//ui/events/keycodes:x11",
    "//ui/gfx",
    "//ui/gfx/x",
  ]
}