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