OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
8 | 8 |
9 mojo_native_application("browser") { | 9 mojo_native_application("browser") { |
10 sources = [ | 10 sources = [ |
(...skipping 11 matching lines...) Expand all Loading... |
22 resources = [ | 22 resources = [ |
23 "$root_out_dir/icudtl.dat", | 23 "$root_out_dir/icudtl.dat", |
24 "$root_out_dir/mandoline_ui.pak", | 24 "$root_out_dir/mandoline_ui.pak", |
25 ] | 25 ] |
26 } | 26 } |
27 | 27 |
28 source_set("lib") { | 28 source_set("lib") { |
29 sources = [ | 29 sources = [ |
30 "browser.cc", | 30 "browser.cc", |
31 "browser.h", | 31 "browser.h", |
| 32 "browser_delegate.h", |
32 "browser_manager.cc", | 33 "browser_manager.cc", |
33 "browser_manager.h", | 34 "browser_manager.h", |
34 "navigator_host_impl.cc", | 35 "navigator_host_impl.cc", |
35 "navigator_host_impl.h", | 36 "navigator_host_impl.h", |
36 ] | 37 ] |
37 | 38 |
38 deps = [ | 39 deps = [ |
39 "public/interfaces", | 40 "public/interfaces", |
40 "//base", | 41 "//base", |
41 "//components/view_manager/public/cpp", | 42 "//components/view_manager/public/cpp", |
(...skipping 14 matching lines...) Expand all Loading... |
56 ] | 57 ] |
57 deps += [ "//mandoline/ui/aura" ] | 58 deps += [ "//mandoline/ui/aura" ] |
58 } else { | 59 } else { |
59 assert(is_android) | 60 assert(is_android) |
60 sources += [ | 61 sources += [ |
61 "android/android_ui.cc", | 62 "android/android_ui.cc", |
62 "android/android_ui.h", | 63 "android/android_ui.h", |
63 ] | 64 ] |
64 } | 65 } |
65 } | 66 } |
| 67 |
| 68 mojo_native_application("mandoline_browser_apptests") { |
| 69 testonly = true |
| 70 |
| 71 sources = [ |
| 72 "browser_apptest.cc", |
| 73 ] |
| 74 |
| 75 deps = [ |
| 76 "//base", |
| 77 "//base/test:test_config", |
| 78 "//mandoline/tab/public/interfaces", |
| 79 "//mandoline/ui/browser:lib", |
| 80 "//mojo/application/public/cpp:test_support", |
| 81 ] |
| 82 } |
OLD | NEW |