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

Side by Side Diff: examples/wm_flow/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/window_manager/BUILD.gn ('k') | mojo/public/mojo_application.gni » ('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 assert(use_aura) 9 assert(use_aura)
9 10
10 group("wm_flow") { 11 group("wm_flow") {
11 deps = [ 12 deps = [
12 ":app", 13 ":app",
13 ":embedded", 14 ":embedded",
14 ":wm", 15 ":wm",
15 ] 16 ]
16 } 17 }
17 18
18 shared_library("wm") { 19 mojo_native_application("wm") {
19 output_name = "wm_flow_wm" 20 output_name = "wm_flow_wm"
20 21
21 sources = [ 22 sources = [
22 "wm/wm.cc", 23 "wm/wm.cc",
23 "wm/frame_controller.cc", 24 "wm/frame_controller.cc",
24 "wm/frame_controller.h", 25 "wm/frame_controller.h",
25 ] 26 ]
26 27
27 deps = [ 28 deps = [
28 "//base", 29 "//base",
29 "//skia", 30 "//skia",
30 "//ui/aura", 31 "//ui/aura",
31 "//ui/views", 32 "//ui/views",
32 "//ui/wm:wm", 33 "//ui/wm:wm",
33 "//mojo/application", 34 "//mojo/application",
34 "//mojo/public/c/system:for_shared_library", 35 "//mojo/public/c/system:for_shared_library",
35 "//mojo/services/public/cpp/view_manager", 36 "//mojo/services/public/cpp/view_manager",
36 "//mojo/services/public/interfaces/input_events", 37 "//mojo/services/public/interfaces/input_events",
37 "//mojo/services/window_manager:lib", 38 "//mojo/services/window_manager:lib",
38 "//mojo/views:views", 39 "//mojo/views:views",
39 ] 40 ]
40 } 41 }
41 42
42 shared_library("app") { 43 mojo_native_application("app") {
43 output_name = "wm_flow_app" 44 output_name = "wm_flow_app"
44 45
45 sources = [ 46 sources = [
46 "app/app.cc", 47 "app/app.cc",
47 ] 48 ]
48 49
49 deps = [ 50 deps = [
50 ":embedder_bindings", 51 ":embedder_bindings",
51 ":embeddee_bindings", 52 ":embeddee_bindings",
52 "//base", 53 "//base",
53 "//examples/bitmap_uploader", 54 "//examples/bitmap_uploader",
54 "//mojo/application", 55 "//mojo/application",
55 "//mojo/public/c/system:for_shared_library", 56 "//mojo/public/c/system:for_shared_library",
56 "//mojo/public/interfaces/application:application", 57 "//mojo/public/interfaces/application:application",
57 "//mojo/services/public/cpp/view_manager", 58 "//mojo/services/public/cpp/view_manager",
58 "//mojo/services/window_manager:lib", 59 "//mojo/services/window_manager:lib",
59 "//skia", 60 "//skia",
60 ] 61 ]
61 } 62 }
62 63
63 shared_library("embedded") { 64 mojo_native_application("embedded") {
64 output_name = "wm_flow_embedded" 65 output_name = "wm_flow_embedded"
65 66
66 sources = [ 67 sources = [
67 "embedded/embedded.cc", 68 "embedded/embedded.cc",
68 ] 69 ]
69 70
70 deps = [ 71 deps = [
71 ":embeddee_bindings", 72 ":embeddee_bindings",
72 ":embedder_bindings", 73 ":embedder_bindings",
73 "//base", 74 "//base",
(...skipping 10 matching lines...) Expand all
84 sources = [ 85 sources = [
85 "app/embedder.mojom", 86 "app/embedder.mojom",
86 ] 87 ]
87 } 88 }
88 89
89 mojom("embeddee_bindings") { 90 mojom("embeddee_bindings") {
90 sources = [ 91 sources = [
91 "embedded/embeddee.mojom", 92 "embedded/embeddee.mojom",
92 ] 93 ]
93 } 94 }
OLDNEW
« no previous file with comments | « examples/window_manager/BUILD.gn ('k') | mojo/public/mojo_application.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698