summaryrefslogtreecommitdiff
path: root/chromium/ui/gfx/x/BUILD.gn
blob: b14d8ace624ab95edd59df388cf3fa4dd8dc4f7a (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
# Copyright 2014 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/jumbo.gni")
import("//build/config/ui.gni")
import("//ui/ozone/ozone.gni")

assert(use_x11 || ozone_platform_x11)

jumbo_component("x") {
  output_name = "gfx_x11"

  sources = [
    "../gfx_export.h",
    "x11_atom_cache.cc",
    "x11_atom_cache.h",
    "x11_connection.cc",
    "x11_connection.h",
    "x11_error_tracker.cc",
    "x11_error_tracker.h",
    "x11_switches.cc",
    "x11_switches.h",
    "x11_types.cc",
    "x11_types.h",
  ]

  defines = [ "GFX_IMPLEMENTATION" ]

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

  deps = [
    "//base",
  ]
}