Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / mandoline / ui / desktop_ui / BUILD.gn
blobbfdd4a8d3be37c0bbe4a1cb6828bba611b0192dd
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   ]
32   deps = [
33     "public/interfaces",
34     "//base",
35     "//components/web_view/public/cpp",
36     "//components/web_view/public/interfaces",
37     "//mandoline/ui/aura",
38     "//mojo/application/public/cpp:sources",
39     "//mojo/common:common_base",
40     "//mojo/converters/geometry",
41     "//mojo/services/tracing/public/cpp",
42     "//mojo/services/tracing/public/interfaces",
43     "//skia",
44     "//third_party/mojo/src/mojo/public/cpp/bindings",
45     "//ui/gfx",
46     "//ui/gfx/geometry",
47     "//ui/mojo/events:interfaces",
48     "//ui/views",
49     "//url",
50   ]
53 mojo_native_application("mandoline_browser_apptests") {
54   testonly = true
56   sources = [
57     "browser_apptest.cc",
58   ]
60   deps = [
61     "//base",
62     "//base/test:test_config",
63     "//components/view_manager/public/cpp",
64     "//mandoline/ui/desktop_ui:lib",
65     "//mojo/application/public/cpp:sources",
66     "//mojo/application/public/cpp:test_support",
67   ]