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/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 8 |
8 if (use_aura) { | 9 if (use_aura) { |
9 | 10 |
10 shared_library("media_viewer") { | 11 mojo_native_application("media_viewer") { |
11 sources = [ | 12 sources = [ |
12 "media_viewer.cc" | 13 "media_viewer.cc" |
13 ] | 14 ] |
14 | 15 |
15 deps = [ | 16 deps = [ |
16 ":bindings", | 17 ":bindings", |
17 "//base", | 18 "//base", |
18 "//mojo/application", | 19 "//mojo/application", |
19 "//mojo/converters/input_events", | 20 "//mojo/converters/input_events", |
20 "//mojo/public/c/system:for_shared_library", | 21 "//mojo/public/c/system:for_shared_library", |
21 "//mojo/services/public/cpp/view_manager", | 22 "//mojo/services/public/cpp/view_manager", |
22 "//mojo/services/public/interfaces/navigation", | 23 "//mojo/services/public/interfaces/navigation", |
23 "//mojo/services/public/interfaces/view_manager", | 24 "//mojo/services/public/interfaces/view_manager", |
24 "//mojo/views:views", | 25 "//mojo/views:views", |
25 "//skia", | 26 "//skia", |
26 "//ui/gfx", | 27 "//ui/gfx", |
27 "//ui/gfx/geometry", | 28 "//ui/gfx/geometry", |
28 "//ui/views", | 29 "//ui/views", |
29 ] | 30 ] |
30 } | 31 } |
31 | 32 |
32 } # use_aura | 33 } # use_aura |
33 | 34 |
34 mojom("bindings") { | 35 mojom("bindings") { |
35 sources = [ | 36 sources = [ |
36 "media_viewer.mojom", | 37 "media_viewer.mojom", |
37 ] | 38 ] |
38 } | 39 } |
OLD | NEW |