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