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

Side by Side Diff: components/filesystem/BUILD.gn

Issue 2164503006: Rename mojo_application GN templates to service* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
« no previous file with comments | « chrome/app/mash/BUILD.gn ('k') | components/font_service/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("//services/shell/public/cpp/service.gni")
6 import("//mojo/public/mojo_application_manifest.gni") 6 import("//services/shell/public/service_manifest.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 source_set("lib") { 9 source_set("lib") {
10 sources = [ 10 sources = [
11 "directory_impl.cc", 11 "directory_impl.cc",
12 "directory_impl.h", 12 "directory_impl.h",
13 "file_impl.cc", 13 "file_impl.cc",
14 "file_impl.h", 14 "file_impl.h",
15 "file_system_impl.cc", 15 "file_system_impl.cc",
16 "file_system_impl.h", 16 "file_system_impl.h",
(...skipping 10 matching lines...) Expand all
27 "//components/filesystem/public/interfaces", 27 "//components/filesystem/public/interfaces",
28 "//mojo/common", 28 "//mojo/common",
29 "//mojo/common:common_base", 29 "//mojo/common:common_base",
30 "//mojo/public/cpp/system", 30 "//mojo/public/cpp/system",
31 "//services/shell/public/cpp", 31 "//services/shell/public/cpp",
32 "//services/shell/public/interfaces", 32 "//services/shell/public/interfaces",
33 "//url", 33 "//url",
34 ] 34 ]
35 } 35 }
36 36
37 mojo_native_application("filesystem") { 37 service("filesystem") {
38 sources = [ 38 sources = [
39 "file_system_app.cc", 39 "file_system_app.cc",
40 "file_system_app.h", 40 "file_system_app.h",
41 "main.cc", 41 "main.cc",
42 ] 42 ]
43 43
44 deps = [ 44 deps = [
45 ":lib", 45 ":lib",
46 "//base", 46 "//base",
47 "//components/filesystem/public/interfaces", 47 "//components/filesystem/public/interfaces",
48 "//mojo/common", 48 "//mojo/common",
49 "//mojo/public/cpp/bindings", 49 "//mojo/public/cpp/bindings",
50 "//mojo/public/cpp/system", 50 "//mojo/public/cpp/system",
51 "//services/shell/public/cpp", 51 "//services/shell/public/cpp",
52 "//services/tracing/public/cpp", 52 "//services/tracing/public/cpp",
53 ] 53 ]
54 54
55 data_deps = [ 55 data_deps = [
56 ":manifest", 56 ":manifest",
57 ] 57 ]
58 } 58 }
59 59
60 mojo_application_manifest("manifest") { 60 service_manifest("manifest") {
61 application_name = "filesystem" 61 name = "filesystem"
62 source = "manifest.json" 62 source = "manifest.json"
63 } 63 }
64 64
65 test("filesystem_service_unittests") { 65 test("filesystem_service_unittests") {
66 sources = [ 66 sources = [
67 "directory_impl_unittest.cc", 67 "directory_impl_unittest.cc",
68 "file_impl_unittest.cc", 68 "file_impl_unittest.cc",
69 "files_test_base.cc", 69 "files_test_base.cc",
70 "files_test_base.h", 70 "files_test_base.h",
71 ] 71 ]
72 72
73 deps = [ 73 deps = [
74 "//base", 74 "//base",
75 "//components/filesystem/public/interfaces", 75 "//components/filesystem/public/interfaces",
76 "//mojo/common", 76 "//mojo/common",
77 "//mojo/public/cpp/bindings", 77 "//mojo/public/cpp/bindings",
78 "//mojo/public/cpp/system", 78 "//mojo/public/cpp/system",
79 "//services/shell/public/cpp:service_test_support", 79 "//services/shell/public/cpp:service_test_support",
80 "//services/shell/public/cpp:sources", 80 "//services/shell/public/cpp:sources",
81 "//services/shell/public/cpp/test:run_all_shelltests", 81 "//services/shell/public/cpp/test:run_all_shelltests",
82 ] 82 ]
83 83
84 data_deps = [ 84 data_deps = [
85 ":test_manifest", 85 ":test_manifest",
86 ":filesystem", 86 ":filesystem",
87 ] 87 ]
88 } 88 }
89 89
90 mojo_application_manifest("test_manifest") { 90 service_manifest("test_manifest") {
91 type = "exe" 91 type = "exe"
92 application_name = "filesystem_service_unittests" 92 name = "filesystem_service_unittests"
93 source = "test_manifest.json" 93 source = "test_manifest.json"
94 } 94 }
OLDNEW
« no previous file with comments | « chrome/app/mash/BUILD.gn ('k') | components/font_service/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698