base: Change DCHECK_IS_ON to a macro DCHECK_IS_ON().
[chromium-blink-merge.git] / ui / views_content_client / BUILD.gn
blobdc1605d3658384864c33d50d9c76abea05cbc2a5
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
3 # found in the LICENSE file.
5 import("//build/config/ui.gni")
7 component("views_content_client") {
8   testonly = true
9   sources = [
10     "views_content_browser_client.cc",
11     "views_content_browser_client.h",
12     "views_content_client.cc",
13     "views_content_client.h",
14     "views_content_client_export.h",
15     "views_content_client_main_parts.cc",
16     "views_content_client_main_parts.h",
17     "views_content_client_main_parts_chromeos.cc",
18     "views_content_client_main_parts_mac.mm",
19     "views_content_main_delegate.cc",
20   ]
22   defines = [ "VIEWS_CONTENT_CLIENT_IMPLEMENTATION" ]
24   deps = [
25     "//base",
26     "//base:i18n",
27     "//content",
28     "//content/shell:content_shell_lib",
29     "//third_party/icu",
30     "//ui/base",
31     "//ui/events",
32     "//ui/gfx",
33     "//ui/gfx/geometry",
34     "//ui/resources",
35     "//ui/resources:ui_test_pak",
36     "//ui/views",
37     "//ui/views:test_support",
38     "//ui/wm",
39   ]
41   if (use_aura) {
42     sources += [
43       "views_content_client_main_parts_aura.cc",
44       "views_content_client_main_parts_aura.h",
45     ]
47     if (!is_chromeos) {
48       sources += [ "views_content_client_main_parts_desktop_aura.cc" ]
49     }
51     deps += [ "//ui/aura" ]
52   }