# 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/ui.gni")

assert(!is_android)

component("views") {
  output_name = "browser_ui_views"
  sources = [
    "accelerator_table.cc",
    "accelerator_table.h",
    "browser_dialogs.h",
    "chrome_views_export.h",
    "event_utils.cc",
    "event_utils.h",
    "tab_icon_view_model.h",
    "tabs/tab_renderer_data.cc",
    "tabs/tab_renderer_data.h",
    "tabs/tab_strip_observer.cc",
    "tabs/tab_strip_observer.h",
    "tabs/tab_strip_types.h",
  ]

  defines = [ "CHROME_VIEWS_IMPLEMENTATION" ]

  deps = [
    "//base",
    "//skia",
    "//ui/base",
    "//ui/events",
    "//ui/gfx",
    "//ui/gfx/geometry",
    "//url",
  ]

  if (use_ash) {
    #deps += [ "//ash" ]  TODO(GYP)
  }
}