Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(511)

Side by Side Diff: examples/media_viewer/BUILD.gn

Issue 713513002: Change mojo application name to {name}.mojo (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Add missing library. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « examples/keyboard/BUILD.gn ('k') | examples/nesting_app/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/mojo_application.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 7 import("//mojo/public/tools/bindings/mojom.gni")
7 8
8 if (use_aura) { 9 if (use_aura) {
9 10
10 shared_library("media_viewer") { 11 mojo_native_application("media_viewer") {
11 sources = [ 12 sources = [
12 "media_viewer.cc" 13 "media_viewer.cc"
13 ] 14 ]
14 15
15 deps = [ 16 deps = [
16 ":bindings", 17 ":bindings",
17 "//base", 18 "//base",
18 "//mojo/application", 19 "//mojo/application",
19 "//mojo/converters/input_events", 20 "//mojo/converters/input_events",
20 "//mojo/public/c/system:for_shared_library", 21 "//mojo/public/c/system:for_shared_library",
21 "//mojo/services/public/cpp/view_manager", 22 "//mojo/services/public/cpp/view_manager",
22 "//mojo/services/public/interfaces/navigation", 23 "//mojo/services/public/interfaces/navigation",
23 "//mojo/services/public/interfaces/view_manager", 24 "//mojo/services/public/interfaces/view_manager",
24 "//mojo/views:views", 25 "//mojo/views:views",
25 "//skia", 26 "//skia",
26 "//ui/gfx", 27 "//ui/gfx",
27 "//ui/gfx/geometry", 28 "//ui/gfx/geometry",
28 "//ui/views", 29 "//ui/views",
29 ] 30 ]
30 } 31 }
31 32
32 } # use_aura 33 } # use_aura
33 34
34 mojom("bindings") { 35 mojom("bindings") {
35 sources = [ 36 sources = [
36 "media_viewer.mojom", 37 "media_viewer.mojom",
37 ] 38 ]
38 } 39 }
OLDNEW
« no previous file with comments | « examples/keyboard/BUILD.gn ('k') | examples/nesting_app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698