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