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