1# Copyright 2018 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.
4
5import("//build/config/ui.gni")
6
7component("cpp") {
8  output_name = "content_service_cpp"
9
10  public = [
11    "navigable_contents.h",
12    "navigable_contents_observer.h",
13    "navigable_contents_view.h",
14  ]
15
16  sources = [
17    "navigable_contents.cc",
18    "navigable_contents_view.cc",
19  ]
20
21  configs += [ "//build/config/compiler:wexit_time_destructors" ]
22
23  defines = [ "IS_CONTENT_SERVICE_CPP_IMPL" ]
24
25  public_deps = [
26    "//base",
27    "//net",
28    "//services/content/public/mojom",
29    "//ui/accessibility",
30    "//ui/accessibility/mojom",
31    "//ui/base",
32    "//ui/gfx:native_widget_types",
33    "//ui/gfx/geometry",
34    "//url",
35  ]
36
37  deps = []
38  if (toolkit_views && !is_chromecast) {
39    deps += [ "//ui/views" ]
40  }
41
42  if (use_aura) {
43    deps += [ "//ui/aura" ]
44  }
45}
46