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