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

Side by Side Diff: examples/echo/BUILD.gn

Issue 780733002: Simplify the thunk targets since we don't support apps as components (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/content_handler_demo/BUILD.gn ('k') | examples/embedded_app/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
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/mojo_application.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 group("echo") { 8 group("echo") {
9 deps = [ 9 deps = [
10 ":client", 10 ":client",
11 ":service" 11 ":service"
12 ] 12 ]
13 } 13 }
14 14
15 mojo_native_application("client") { 15 mojo_native_application("client") {
16 output_name = "echo_client" 16 output_name = "echo_client"
17 17
18 deps = [ 18 deps = [
19 ":bindings", 19 ":bindings",
20 "//mojo/public/c/system:for_shared_library",
21 "//mojo/public/cpp/application:standalone", 20 "//mojo/public/cpp/application:standalone",
22 "//mojo/public/cpp/bindings", 21 "//mojo/public/cpp/bindings",
23 "//mojo/public/cpp/utility", 22 "//mojo/public/cpp/utility",
24 ] 23 ]
25 24
26 sources = [ "echo_client.cc" ] 25 sources = [ "echo_client.cc" ]
27 } 26 }
28 27
29 mojo_native_application("service") { 28 mojo_native_application("service") {
30 output_name = "echo_service" 29 output_name = "echo_service"
31 30
32 deps = [ 31 deps = [
33 ":bindings", 32 ":bindings",
34 "//mojo/public/c/system:for_shared_library",
35 "//mojo/public/cpp/application:standalone", 33 "//mojo/public/cpp/application:standalone",
36 "//mojo/public/cpp/bindings", 34 "//mojo/public/cpp/bindings",
37 "//mojo/public/cpp/utility", 35 "//mojo/public/cpp/utility",
38 ] 36 ]
39 37
40 sources = [ "echo_service.cc" ] 38 sources = [ "echo_service.cc" ]
41 } 39 }
42 40
43 mojom("bindings") { 41 mojom("bindings") {
44 sources = [ "echo_service.mojom" ] 42 sources = [ "echo_service.mojom" ]
45 } 43 }
OLDNEW
« no previous file with comments | « examples/content_handler_demo/BUILD.gn ('k') | examples/embedded_app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698