summaryrefslogtreecommitdiff
path: root/chromium/mash/browser/BUILD.gn
blob: 780ef0245d8e4219673f7e6498de7ac885123e50 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Copyright 2016 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")
import("//services/service_manager/public/cpp/service.gni")
import("//services/service_manager/public/service_manifest.gni")
import("//mojo/public/tools/bindings/mojom.gni")
import("//tools/grit/repack.gni")

source_set("lib") {
  testonly = true
  sources = [
    "browser.cc",
    "browser.h",
    "debug_view.cc",
    "debug_view.h",
  ]

  deps = [
    "//base",
    "//content/public/common:service_names",
    "//mash/public/interfaces",
    "//mojo/public/cpp/bindings",
    "//services/catalog/public/interfaces",
    "//services/navigation/public/cpp",
    "//services/navigation/public/interfaces",
    "//services/service_manager/public/cpp",
    "//services/service_manager/public/interfaces",
    "//services/tracing/public/cpp",
    "//ui/aura",
    "//ui/gfx/geometry/mojo",
    "//ui/native_theme",
    "//ui/views",
    "//ui/views/mus:for_mojo_application",
    "//url",
  ]

  data_deps = [
    "//services/navigation",
  ]
}

service("browser") {
  testonly = true
  sources = [
    "main.cc",
  ]

  deps = [
    ":lib",
    "//services/service_manager/public/cpp",
    "//ui/views/mus:for_mojo_application",
  ]

  resources = [ "$root_out_dir/views_mus_resources.pak" ]

  data_deps = [
    "//services/ui",
  ]
}

service_manifest("manifest") {
  name = "browser"
  source = "manifest.json"
}