Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / mandoline / ui / desktop_ui / BUILD.gn
blob578032cf3607d5b4cfe33242504ad8f3cc967347
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")
6 import("//mojo/public/mojo_application.gni")
7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
9 mojo_native_application("desktop_ui") {
10   sources = [
11     "main.cc",
12   ]
14   deps = [
15     ":lib",
16     "//mandoline/ui/common/resources",
17     "//mojo/application/public/cpp",
18   ]
20   resources = [ "$root_out_dir/mandoline_ui.pak" ]
23 source_set("lib") {
24   sources = [
25     "browser_commands.h",
26     "browser_manager.cc",
27     "browser_manager.h",
28     "browser_window.cc",
29     "browser_window.h",
30     "toolbar_view.cc",
31     "toolbar_view.h",
32   ]
34   deps = [
35     "public/interfaces",
36     "//base",
37     "//components/web_view/public/cpp",
38     "//components/web_view/public/interfaces",
39     "//mandoline/ui/aura",
40     "//mojo/application/public/cpp:sources",
41     "//mojo/common:common_base",
42     "//mojo/converters/geometry",
43     "//mojo/services/tracing/public/cpp",
44     "//mojo/services/tracing/public/interfaces",
45     "//skia",
46     "//third_party/mojo/src/mojo/public/cpp/bindings",
47     "//ui/gfx",
48     "//ui/gfx/geometry",
49     "//ui/mojo/events:interfaces",
50     "//ui/views",
51     "//url",
52   ]
55 mojo_native_application("mandoline_browser_apptests") {
56   testonly = true
58   sources = [
59     "browser_apptest.cc",
60   ]
62   deps = [
63     "//base",
64     "//base/test:test_config",
65     "//components/mus/public/cpp",
66     "//mandoline/ui/desktop_ui:lib",
67     "//mojo/application/public/cpp:sources",
68     "//mojo/application/public/cpp:test_support",
69   ]