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

Side by Side Diff: mojo/examples/surfaces_app/BUILD.gn

Issue 485523004: GN: Mojo wget, sample_app, surfaces app and component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months 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 | Annotate | Revision Log
« no previous file with comments | « mojo/examples/sample_app/BUILD.gn ('k') | mojo/examples/wget/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
(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("//mojo/public/tools/bindings/mojom.gni")
6 import("//mojo/system.gni")
7
8 group("surfaces_app") {
9 deps = [
10 ":child_app",
11 ":parent_app",
12 ]
13 }
14
15 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app
16 shared_library("parent_app") {
17 output_name = "mojo_surfaces_app"
18
19 deps = [
20 ":bindings",
21 ":util",
22 "//base",
23 "//cc",
24 "//cc/surfaces",
25 "//skia",
26 "//ui/gfx",
27 "//ui/gfx/geometry",
28 "//mojo/common",
29 "//mojo/public/cpp/application:chromium",
30 "//mojo/public/cpp/application:main_chromium",
31 "//mojo/environment:chromium",
32 "//mojo/services/public/interfaces/geometry",
33 "//mojo/services/public/cpp/geometry",
34 "//mojo/services/public/interfaces/surfaces",
35 "//mojo/services/public/cpp/surfaces",
36 ] + mojo_system_for_shared_library
37
38 sources = [
39 "embedder.cc",
40 "embedder.h",
41 "surfaces_app.cc",
42 ]
43 }
44
45
46 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_child_app
47 shared_library("child_app") {
48 output_name = "mojo_surfaces_child_app"
49
50 deps = [
51 ":bindings",
52 ":util",
53 "//base",
54 "//cc",
55 "//cc/surfaces",
56 "//skia",
57 "//ui/gfx",
58 "//ui/gfx/geometry",
59 "//mojo/common",
60 "//mojo/public/cpp/application:chromium",
61 "//mojo/public/cpp/application:main_chromium",
62 "//mojo/environment:chromium",
63 "//mojo/services/public/interfaces/geometry",
64 "//mojo/services/public/cpp/geometry",
65 "//mojo/services/public/interfaces/surfaces",
66 "//mojo/services/public/cpp/surfaces",
67 ] + mojo_system_for_shared_library
68
69 sources = [
70 "child_app.cc",
71 "child_impl.cc",
72 "child_impl.h",
73 ]
74 }
75
76 source_set("util") {
77 deps = [
78 "//cc",
79 "//skia",
80 ]
81
82 sources = [
83 "surfaces_util.cc",
84 "surfaces_util.h",
85 ]
86 }
87
88 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app_bindings
89 mojom("bindings") {
90 deps = [
91 "//mojo/services/public/interfaces/geometry",
92 "//mojo/services/public/interfaces/surfaces",
93 ]
94
95 sources = [ "child.mojom" ]
96 }
OLDNEW
« no previous file with comments | « mojo/examples/sample_app/BUILD.gn ('k') | mojo/examples/wget/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698