| 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/mojo_application.gni") |
| 5 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 | 7 |
| 7 group("surfaces_app") { | 8 group("surfaces_app") { |
| 8 deps = [ | 9 deps = [ |
| 9 ":child_app", | 10 ":child_app", |
| 10 ":child_gl_app", | 11 ":child_gl_app", |
| 11 ":parent_app", | 12 ":parent_app", |
| 12 ] | 13 ] |
| 13 } | 14 } |
| 14 | 15 |
| 15 shared_library("parent_app") { | 16 mojo_binary_application("parent_app") { |
| 16 output_name = "surfaces_app" | 17 output_name = "surfaces_app" |
| 17 | 18 |
| 18 deps = [ | 19 deps = [ |
| 19 ":bindings", | 20 ":bindings", |
| 20 ":util", | 21 ":util", |
| 21 "//base", | 22 "//base", |
| 22 "//cc", | 23 "//cc", |
| 23 "//cc/surfaces", | 24 "//cc/surfaces", |
| 24 "//skia", | 25 "//skia", |
| 25 "//ui/gfx", | 26 "//ui/gfx", |
| (...skipping 12 matching lines...) Expand all Loading... |
| 38 ] | 39 ] |
| 39 | 40 |
| 40 sources = [ | 41 sources = [ |
| 41 "embedder.cc", | 42 "embedder.cc", |
| 42 "embedder.h", | 43 "embedder.h", |
| 43 "surfaces_app.cc", | 44 "surfaces_app.cc", |
| 44 ] | 45 ] |
| 45 } | 46 } |
| 46 | 47 |
| 47 | 48 |
| 48 shared_library("child_app") { | 49 mojo_binary_application("child_app") { |
| 49 output_name = "surfaces_child_app" | 50 output_name = "surfaces_child_app" |
| 50 | 51 |
| 51 deps = [ | 52 deps = [ |
| 52 ":bindings", | 53 ":bindings", |
| 53 ":util", | 54 ":util", |
| 54 "//base", | 55 "//base", |
| 55 "//cc", | 56 "//cc", |
| 56 "//cc/surfaces", | 57 "//cc/surfaces", |
| 57 "//mojo/application", | 58 "//mojo/application", |
| 58 "//mojo/common", | 59 "//mojo/common", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 69 "//ui/gfx/geometry", | 70 "//ui/gfx/geometry", |
| 70 ] | 71 ] |
| 71 | 72 |
| 72 sources = [ | 73 sources = [ |
| 73 "child_app.cc", | 74 "child_app.cc", |
| 74 "child_impl.cc", | 75 "child_impl.cc", |
| 75 "child_impl.h", | 76 "child_impl.h", |
| 76 ] | 77 ] |
| 77 } | 78 } |
| 78 | 79 |
| 79 shared_library("child_gl_app") { | 80 mojo_binary_application("child_gl_app") { |
| 80 output_name = "surfaces_child_gl_app" | 81 output_name = "surfaces_child_gl_app" |
| 81 | 82 |
| 82 deps = [ | 83 deps = [ |
| 83 ":bindings", | 84 ":bindings", |
| 84 ":util", | 85 ":util", |
| 85 "//base", | 86 "//base", |
| 86 "//cc", | 87 "//cc", |
| 87 "//cc/surfaces", | 88 "//cc/surfaces", |
| 88 "//examples/sample_app:spinning_cube", | 89 "//examples/sample_app:spinning_cube", |
| 89 "//gpu/command_buffer/common", | 90 "//gpu/command_buffer/common", |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 | 130 |
| 130 mojom("bindings") { | 131 mojom("bindings") { |
| 131 deps = [ | 132 deps = [ |
| 132 "//mojo/services/public/interfaces/geometry", | 133 "//mojo/services/public/interfaces/geometry", |
| 133 "//mojo/services/public/interfaces/surfaces", | 134 "//mojo/services/public/interfaces/surfaces", |
| 134 "//mojo/services/public/interfaces/surfaces:surface_id", | 135 "//mojo/services/public/interfaces/surfaces:surface_id", |
| 135 ] | 136 ] |
| 136 | 137 |
| 137 sources = [ "child.mojom" ] | 138 sources = [ "child.mojom" ] |
| 138 } | 139 } |
| OLD | NEW |