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

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

Issue 2001403002: Remove //mojo/platform_handle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wrapper-apis
Patch Set: Created 4 years, 7 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/public/cpp/BUILD.gn ('k') | components/leveldb/DEPS » ('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("//mojo/public/mojo_application.gni")
6 import("//mojo/public/mojo_application_manifest.gni") 6 import("//mojo/public/mojo_application_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/platform_handle", 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 mojo_native_application("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/platform_handle:for_shared_library",
44 "//mojo/public/cpp/bindings", 43 "//mojo/public/cpp/bindings",
45 "//mojo/public/cpp/system", 44 "//mojo/public/cpp/system",
46 "//services/shell/public/cpp", 45 "//services/shell/public/cpp",
47 "//services/tracing/public/cpp", 46 "//services/tracing/public/cpp",
48 ] 47 ]
49 48
50 data_deps = [ 49 data_deps = [
51 ":manifest", 50 ":manifest",
52 ] 51 ]
53 } 52 }
54 53
55 mojo_application_manifest("manifest") { 54 mojo_application_manifest("manifest") {
56 application_name = "leveldb" 55 application_name = "leveldb"
57 source = "manifest.json" 56 source = "manifest.json"
58 } 57 }
59 58
60 test("leveldb_service_unittests") { 59 test("leveldb_service_unittests") {
61 sources = [ 60 sources = [
62 "leveldb_service_unittest.cc", 61 "leveldb_service_unittest.cc",
63 "remote_iterator_unittest.cc", 62 "remote_iterator_unittest.cc",
64 ] 63 ]
65 64
66 deps = [ 65 deps = [
67 "//base", 66 "//base",
68 "//components/filesystem/public/interfaces", 67 "//components/filesystem/public/interfaces",
69 "//components/leveldb/public/cpp", 68 "//components/leveldb/public/cpp",
70 "//components/leveldb/public/interfaces", 69 "//components/leveldb/public/interfaces",
71 "//mojo/common", 70 "//mojo/common",
72 "//mojo/platform_handle",
73 "//mojo/public/cpp/bindings", 71 "//mojo/public/cpp/bindings",
72 "//mojo/public/cpp/system",
74 "//services/shell/public/cpp:shell_test_support", 73 "//services/shell/public/cpp:shell_test_support",
75 "//services/shell/public/cpp:sources", 74 "//services/shell/public/cpp:sources",
76 "//services/shell/public/cpp/test:run_all_shelltests", 75 "//services/shell/public/cpp/test:run_all_shelltests",
77 "//third_party/leveldatabase", 76 "//third_party/leveldatabase",
78 ] 77 ]
79 78
80 data_deps = [ 79 data_deps = [
81 ":test_manifest", 80 ":test_manifest",
82 ":leveldb", 81 ":leveldb",
83 "//components/filesystem:filesystem", 82 "//components/filesystem:filesystem",
84 ] 83 ]
85 } 84 }
86 85
87 mojo_application_manifest("test_manifest") { 86 mojo_application_manifest("test_manifest") {
88 type = "exe" 87 type = "exe"
89 application_name = "leveldb_service_unittests" 88 application_name = "leveldb_service_unittests"
90 source = "test_manifest.json" 89 source = "test_manifest.json"
91 } 90 }
OLDNEW
« no previous file with comments | « components/font_service/public/cpp/BUILD.gn ('k') | components/leveldb/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698