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 8 if (use_aura) { 9 10 # GYP version: mojo/mojo_examples.gypi:mojo_media_viewer 11 shared_library("media_viewer") { 12 output_name = "mojo_media_viewer" 13 14 sources = [ 15 "media_viewer.cc" 16 ] 17 18 deps = [ 19 ":bindings", 20 "//base", 21 "//mojo/application", 22 "//mojo/public/c/system:for_shared_library", 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 ] 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 } 42