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

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

Issue 713513002: Change mojo application name to {name}.mojo (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Add missing library. Created 6 years, 1 month 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 | « no previous file | examples/aura_demo/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/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
6 7
7 group("apptest") { 8 group("apptest") {
8 testonly = true 9 testonly = true
9 10
10 deps = [ 11 deps = [
11 ":apptests", 12 ":apptests",
12 ":service", 13 ":service",
13 ] 14 ]
14 } 15 }
15 16
16 shared_library("service") { 17 mojo_native_application("service") {
17 output_name = "example_service" 18 output_name = "example_service"
18 19
19 sources = [ 20 sources = [
20 "example_service_application.cc", 21 "example_service_application.cc",
21 "example_service_application.h", 22 "example_service_application.h",
22 "example_service_impl.cc", 23 "example_service_impl.cc",
23 "example_service_impl.h", 24 "example_service_impl.h",
24 ] 25 ]
25 26
26 deps = [ 27 deps = [
27 ":bindings", 28 ":bindings",
28 "//mojo/public/c/system:for_shared_library", 29 "//mojo/public/c/system:for_shared_library",
29 "//mojo/public/cpp/application:standalone", 30 "//mojo/public/cpp/application:standalone",
30 "//mojo/public/cpp/utility" 31 "//mojo/public/cpp/utility"
31 ] 32 ]
32 } 33 }
33 34
34 shared_library("apptests") { 35 mojo_native_application("apptests") {
35 output_name = "example_apptests" 36 output_name = "example_apptests"
36 37
37 testonly = true 38 testonly = true
38 39
39 sources = [ 40 sources = [
40 "example_apptest.cc", 41 "example_apptest.cc",
41 "example_client_application.cc", 42 "example_client_application.cc",
42 "example_client_application.h", 43 "example_client_application.h",
43 "example_client_impl.cc", 44 "example_client_impl.cc",
44 "example_client_impl.h", 45 "example_client_impl.h",
45 ] 46 ]
46 47
47 deps = [ 48 deps = [
48 ":bindings", 49 ":bindings",
49 "//mojo/public/c/system:for_shared_library", 50 "//mojo/public/c/system:for_shared_library",
50 "//mojo/public/cpp/application:standalone", 51 "//mojo/public/cpp/application:standalone",
51 "//mojo/public/cpp/application:test_support_standalone", 52 "//mojo/public/cpp/application:test_support_standalone",
52 ] 53 ]
53 54
54 datadeps = [ ":service", ] 55 datadeps = [ ":service", ]
55 } 56 }
56 57
57 mojom("bindings") { 58 mojom("bindings") {
58 sources = [ "example_service.mojom" ] 59 sources = [ "example_service.mojom" ]
59 } 60 }
OLDNEW
« no previous file with comments | « no previous file | examples/aura_demo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698