# 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.

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

  sources = [
    "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",
  ]
}