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

Side by Side Diff: components/leveldb/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 | « components/font_service/BUILD.gn ('k') | content/content.gyp » ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 "env_mojo.cc", 11 "env_mojo.cc",
12 "env_mojo.h", 12 "env_mojo.h",
13 "leveldb_database_impl.cc", 13 "leveldb_database_impl.cc",
14 "leveldb_database_impl.h", 14 "leveldb_database_impl.h",
15 "leveldb_mojo_proxy.cc", 15 "leveldb_mojo_proxy.cc",
16 "leveldb_mojo_proxy.h", 16 "leveldb_mojo_proxy.h",
17 "leveldb_service_impl.cc", 17 "leveldb_service_impl.cc",
18 "leveldb_service_impl.h", 18 "leveldb_service_impl.h",
19 ] 19 ]
20 20
21 deps = [ 21 deps = [
22 "//components/filesystem/public/interfaces", 22 "//components/filesystem/public/interfaces",
23 "//components/leveldb/public/cpp", 23 "//components/leveldb/public/cpp",
24 "//components/leveldb/public/interfaces", 24 "//components/leveldb/public/interfaces",
25 "//mojo/common", 25 "//mojo/common",
26 "//mojo/public/cpp/system", 26 "//mojo/public/cpp/system",
27 "//services/shell/public/cpp", 27 "//services/shell/public/cpp",
28 "//third_party/leveldatabase", 28 "//third_party/leveldatabase",
29 ] 29 ]
30 } 30 }
31 31
32 mojo_native_application("leveldb") { 32 service("leveldb") {
33 sources = [ 33 sources = [
34 "leveldb_app.cc", 34 "leveldb_app.cc",
35 "leveldb_app.h", 35 "leveldb_app.h",
36 "main.cc", 36 "main.cc",
37 ] 37 ]
38 38
39 deps = [ 39 deps = [
40 ":lib", 40 ":lib",
41 "//components/leveldb/public/interfaces", 41 "//components/leveldb/public/interfaces",
42 "//mojo/common", 42 "//mojo/common",
43 "//mojo/public/cpp/bindings", 43 "//mojo/public/cpp/bindings",
44 "//mojo/public/cpp/system", 44 "//mojo/public/cpp/system",
45 "//services/shell/public/cpp", 45 "//services/shell/public/cpp",
46 "//services/tracing/public/cpp", 46 "//services/tracing/public/cpp",
47 ] 47 ]
48 48
49 data_deps = [ 49 data_deps = [
50 ":manifest", 50 ":manifest",
51 ] 51 ]
52 } 52 }
53 53
54 mojo_application_manifest("manifest") { 54 service_manifest("manifest") {
55 application_name = "leveldb" 55 name = "leveldb"
56 source = "manifest.json" 56 source = "manifest.json"
57 } 57 }
58 58
59 test("leveldb_service_unittests") { 59 test("leveldb_service_unittests") {
60 sources = [ 60 sources = [
61 "leveldb_service_unittest.cc", 61 "leveldb_service_unittest.cc",
62 "remote_iterator_unittest.cc", 62 "remote_iterator_unittest.cc",
63 ] 63 ]
64 64
65 deps = [ 65 deps = [
(...skipping 10 matching lines...) Expand all
76 "//third_party/leveldatabase", 76 "//third_party/leveldatabase",
77 ] 77 ]
78 78
79 data_deps = [ 79 data_deps = [
80 ":test_manifest", 80 ":test_manifest",
81 ":leveldb", 81 ":leveldb",
82 "//components/filesystem:filesystem", 82 "//components/filesystem:filesystem",
83 ] 83 ]
84 } 84 }
85 85
86 mojo_application_manifest("test_manifest") { 86 service_manifest("test_manifest") {
87 type = "exe" 87 type = "exe"
88 application_name = "leveldb_service_unittests" 88 name = "leveldb_service_unittests"
89 source = "test_manifest.json" 89 source = "test_manifest.json"
90 } 90 }
OLDNEW
« no previous file with comments | « components/font_service/BUILD.gn ('k') | content/content.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698