| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 import("//build/config/ui.gni") | |
| 6 import("//mojo/public/mojo_application.gni") | |
| 7 import("//mojo/public/tools/bindings/mojom.gni") | |
| 8 | |
| 9 mojo_native_application("desktop_ui") { | |
| 10 sources = [ | |
| 11 "main.cc", | |
| 12 ] | |
| 13 | |
| 14 deps = [ | |
| 15 ":lib", | |
| 16 "//mandoline/ui/common/resources", | |
| 17 "//mojo/shell/public/cpp", | |
| 18 ] | |
| 19 | |
| 20 resources = [ "$root_out_dir/mandoline_ui.pak" ] | |
| 21 } | |
| 22 | |
| 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 "find_bar_delegate.h", | |
| 31 "find_bar_view.cc", | |
| 32 "find_bar_view.h", | |
| 33 "toolbar_view.cc", | |
| 34 "toolbar_view.h", | |
| 35 ] | |
| 36 | |
| 37 deps = [ | |
| 38 "public/interfaces", | |
| 39 "//base", | |
| 40 "//components/web_view/public/cpp", | |
| 41 "//components/web_view/public/interfaces", | |
| 42 "//mojo/common:common_base", | |
| 43 "//mojo/converters/geometry", | |
| 44 "//mojo/public/cpp/bindings", | |
| 45 "//mojo/services/tracing/public/cpp", | |
| 46 "//mojo/services/tracing/public/interfaces", | |
| 47 "//mojo/shell/public/cpp:sources", | |
| 48 "//skia", | |
| 49 "//ui/gfx", | |
| 50 "//ui/gfx/geometry", | |
| 51 "//ui/mojo/init", | |
| 52 "//ui/views", | |
| 53 "//ui/views/mus:for_mojo_application", | |
| 54 "//url", | |
| 55 ] | |
| 56 } | |
| 57 | |
| 58 mojo_native_application("mandoline_browser_apptests") { | |
| 59 testonly = true | |
| 60 | |
| 61 sources = [ | |
| 62 "browser_apptest.cc", | |
| 63 ] | |
| 64 | |
| 65 deps = [ | |
| 66 "//mandoline/ui/desktop_ui/public/interfaces", | |
| 67 "//mojo/shell/public/cpp:sources", | |
| 68 "//mojo/shell/public/cpp:test_support", | |
| 69 ] | |
| 70 | |
| 71 data_deps = [ | |
| 72 ":desktop_ui", | |
| 73 ] | |
| 74 } | |
| OLD | NEW |