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("//third_party/mojo/src/mojo/public/mojo_application.gni") | 5 import("//third_party/mojo/src/mojo/public/mojo_application.gni") |
6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
7 | 7 |
8 group("browser") { | 8 group("browser") { |
9 deps = [ | 9 deps = [ |
10 "//mandoline/ui/browser:window_manager", | 10 "//mandoline/ui/browser:window_manager", |
11 ] | 11 ] |
12 } | 12 } |
13 | 13 |
14 mojo_native_application("window_manager") { | 14 mojo_native_application("window_manager") { |
15 sources = [ | 15 sources = [ |
16 "browser.cc", | 16 "browser.cc", |
17 "browser.h", | 17 "browser.h", |
18 "merged_service_provider.cc", | 18 "merged_service_provider.cc", |
19 "merged_service_provider.h", | 19 "merged_service_provider.h", |
20 "navigator_host_impl.cc", | 20 "navigator_host_impl.cc", |
21 "navigator_host_impl.h", | 21 "navigator_host_impl.h", |
22 ] | 22 ] |
23 | 23 |
24 if (is_android) { | |
sky
2015/05/07 23:07:32
nit: combine with if (!is_android) below?
| |
25 sources += [ | |
26 "android/android_ui.cc", | |
27 "android/android_ui.h", | |
28 ] | |
29 } else { | |
30 sources += [ | |
31 "desktop/desktop_ui.cc", | |
32 "desktop/desktop_ui.h", | |
33 ] | |
34 } | |
35 | |
24 deps = [ | 36 deps = [ |
25 "//base", | 37 "//base", |
26 "//components/view_manager/public/cpp", | 38 "//components/view_manager/public/cpp", |
27 "//components/window_manager:lib", | 39 "//components/window_manager:lib", |
28 "//mandoline/services/navigation/public/interfaces", | 40 "//mandoline/services/navigation/public/interfaces", |
29 "//mojo/application", | 41 "//mojo/application", |
30 "//mojo/common:common", | 42 "//mojo/common:common", |
31 "//mojo/converters/geometry", | 43 "//mojo/converters/geometry", |
44 "//skia", | |
32 "//third_party/mojo/src/mojo/public/cpp/bindings", | 45 "//third_party/mojo/src/mojo/public/cpp/bindings", |
33 "//third_party/mojo/src/mojo/public/cpp/utility", | 46 "//third_party/mojo/src/mojo/public/cpp/utility", |
34 "//third_party/mojo/src/mojo/public/interfaces/application", | 47 "//third_party/mojo/src/mojo/public/interfaces/application", |
35 "//ui/gfx/geometry", | 48 "//ui/gfx/geometry", |
36 "//ui/mojo/events:interfaces", | 49 "//ui/mojo/events:interfaces", |
37 ] | 50 ] |
51 | |
52 if (!is_android) { | |
53 deps += [ "//mandoline/ui/aura" ] | |
54 } | |
38 } | 55 } |
OLD | NEW |