OLD | NEW |
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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 import("//mojo/system.gni") | 6 import("//mojo/system.gni") |
7 | 7 |
8 group("surfaces_app") { | 8 group("surfaces_app") { |
9 deps = [ | 9 deps = [ |
10 ":child_app", | 10 ":child_app", |
| 11 ":child_gl_app", |
11 ":parent_app", | 12 ":parent_app", |
12 ] | 13 ] |
13 } | 14 } |
14 | 15 |
15 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app | 16 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app |
16 shared_library("parent_app") { | 17 shared_library("parent_app") { |
17 output_name = "mojo_surfaces_app" | 18 output_name = "mojo_surfaces_app" |
18 | 19 |
19 deps = [ | 20 deps = [ |
20 ":bindings", | 21 ":bindings", |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 "//mojo/services/public/cpp/surfaces", | 65 "//mojo/services/public/cpp/surfaces", |
65 ] + mojo_system_for_shared_library | 66 ] + mojo_system_for_shared_library |
66 | 67 |
67 sources = [ | 68 sources = [ |
68 "child_app.cc", | 69 "child_app.cc", |
69 "child_impl.cc", | 70 "child_impl.cc", |
70 "child_impl.h", | 71 "child_impl.h", |
71 ] | 72 ] |
72 } | 73 } |
73 | 74 |
| 75 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_child_gl_app |
| 76 shared_library("child_gl_app") { |
| 77 output_name = "mojo_surfaces_child_gl_app" |
| 78 |
| 79 deps = [ |
| 80 ":bindings", |
| 81 ":util", |
| 82 "//base", |
| 83 "//cc", |
| 84 "//cc/surfaces", |
| 85 "//skia", |
| 86 "//ui/gfx", |
| 87 "//ui/gfx/geometry", |
| 88 "//mojo/common", |
| 89 "//mojo/application", |
| 90 "//mojo/environment:chromium", |
| 91 "//mojo/examples/sample_app:spinning_cube", |
| 92 "//mojo/services/public/interfaces/geometry", |
| 93 "//mojo/services/public/cpp/geometry", |
| 94 "//mojo/services/public/interfaces/surfaces", |
| 95 "//mojo/services/public/cpp/surfaces", |
| 96 ] + mojo_system_for_shared_library + mojo_gles2_for_shared_library |
| 97 |
| 98 sources = [ |
| 99 "child_gl_app.cc", |
| 100 "child_gl_impl.cc", |
| 101 "child_gl_impl.h", |
| 102 ] |
| 103 } |
| 104 |
74 source_set("util") { | 105 source_set("util") { |
75 deps = [ | 106 deps = [ |
76 "//cc", | 107 "//cc", |
77 "//skia", | 108 "//skia", |
78 ] | 109 ] |
79 | 110 |
80 sources = [ | 111 sources = [ |
81 "surfaces_util.cc", | 112 "surfaces_util.cc", |
82 "surfaces_util.h", | 113 "surfaces_util.h", |
83 ] | 114 ] |
84 } | 115 } |
85 | 116 |
86 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app_bindings | 117 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app_bindings |
87 mojom("bindings") { | 118 mojom("bindings") { |
88 deps = [ | 119 deps = [ |
89 "//mojo/services/public/interfaces/geometry", | 120 "//mojo/services/public/interfaces/geometry", |
90 "//mojo/services/public/interfaces/surfaces", | 121 "//mojo/services/public/interfaces/surfaces", |
91 ] | 122 ] |
92 | 123 |
93 sources = [ "child.mojom" ] | 124 sources = [ "child.mojom" ] |
94 } | 125 } |
OLD | NEW |