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

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

Issue 563953003: GN rules for everything in //mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
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("//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",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 "//mojo/services/public/cpp/surfaces", 64 "//mojo/services/public/cpp/surfaces",
65 ] + mojo_system_for_shared_library 65 ] + mojo_system_for_shared_library
66 66
67 sources = [ 67 sources = [
68 "child_app.cc", 68 "child_app.cc",
69 "child_impl.cc", 69 "child_impl.cc",
70 "child_impl.h", 70 "child_impl.h",
71 ] 71 ]
72 } 72 }
73 73
74 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_child_gl_app
75 shared_library("child_gl_app") {
76 output_name = "mojo_surfaces_child_gl_app"
77
78 deps = [
79 ":bindings",
80 ":util",
81 "//base",
82 "//cc",
83 "//cc/surfaces",
84 "//skia",
85 "//ui/gfx",
86 "//ui/gfx/geometry",
87 "//mojo/common",
88 "//mojo/public/cpp/application:chromium",
89 "//mojo/environment:chromium",
90 "//mojo/examples/sample_app:spinning_cube",
91 "//mojo/services/public/interfaces/geometry",
92 "//mojo/services/public/cpp/geometry",
93 "//mojo/services/public/interfaces/surfaces",
94 "//mojo/services/public/cpp/surfaces",
95 ] + mojo_system_for_shared_library
96
97 sources = [
98 "child_gl_app.cc",
99 "child_gl_impl.cc",
100 "child_gl_impl.h",
101 ]
102 }
103
74 source_set("util") { 104 source_set("util") {
75 deps = [ 105 deps = [
76 "//cc", 106 "//cc",
77 "//skia", 107 "//skia",
78 ] 108 ]
79 109
80 sources = [ 110 sources = [
81 "surfaces_util.cc", 111 "surfaces_util.cc",
82 "surfaces_util.h", 112 "surfaces_util.h",
83 ] 113 ]
84 } 114 }
85 115
86 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app_bindings 116 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app_bindings
87 mojom("bindings") { 117 mojom("bindings") {
88 deps = [ 118 deps = [
89 "//mojo/services/public/interfaces/geometry", 119 "//mojo/services/public/interfaces/geometry",
90 "//mojo/services/public/interfaces/surfaces", 120 "//mojo/services/public/interfaces/surfaces",
91 ] 121 ]
92 122
93 sources = [ "child.mojom" ] 123 sources = [ "child.mojom" ]
94 } 124 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698