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

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

Issue 1720603002: Revert of mojo: Get mojo:leveldb and mojo:filesystem compiled into content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/filesystem/filesystem.gyp ('k') | components/leveldb/leveldb.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("//mojo/public/mojo_application.gni")
6 import("//mojo/public/mojo_application_manifest.gni") 6 import("//mojo/public/mojo_application_manifest.gni")
7 7
8 source_set("lib") { 8 source_set("lib") {
9 sources = [ 9 sources = [
10 "env_mojo.cc", 10 "env_mojo.cc",
11 "env_mojo.h", 11 "env_mojo.h",
12 "leveldb_app.cc",
13 "leveldb_app.h",
12 "leveldb_database_impl.cc", 14 "leveldb_database_impl.cc",
13 "leveldb_database_impl.h", 15 "leveldb_database_impl.h",
14 "leveldb_file_thread.cc", 16 "leveldb_file_thread.cc",
15 "leveldb_file_thread.h", 17 "leveldb_file_thread.h",
16 "leveldb_service_impl.cc",
17 "leveldb_service_impl.h",
18 "util.cc", 18 "util.cc",
19 "util.h", 19 "util.h",
20 ] 20 ]
21 21
22 deps = [ 22 deps = [
23 "//components/filesystem/public/interfaces", 23 "//components/filesystem/public/interfaces",
24 "//components/leveldb/public/interfaces", 24 "//components/leveldb/public/interfaces",
25 "//mojo/common", 25 "//mojo/common",
26 "//mojo/message_pump", 26 "//mojo/message_pump",
27 "//mojo/platform_handle", 27 "//mojo/platform_handle",
28 "//mojo/services/tracing/public/cpp",
28 "//mojo/shell/public/cpp", 29 "//mojo/shell/public/cpp",
29 "//third_party/leveldatabase", 30 "//third_party/leveldatabase",
30 ] 31 ]
31 } 32 }
32 33
33 mojo_native_application("leveldb") { 34 mojo_native_application("leveldb") {
34 sources = [ 35 sources = [
35 "leveldb_app.cc",
36 "leveldb_app.h",
37 "main.cc", 36 "main.cc",
38 ] 37 ]
39 38
40 deps = [ 39 deps = [
41 ":lib", 40 ":lib",
42 ":manifest", 41 ":manifest",
43 "//components/leveldb/public/interfaces",
44 "//mojo/common", 42 "//mojo/common",
45 "//mojo/environment:chromium", 43 "//mojo/environment:chromium",
46 "//mojo/platform_handle:for_shared_library", 44 "//mojo/platform_handle:for_shared_library",
47 "//mojo/public/cpp/bindings", 45 "//mojo/public/cpp/bindings",
48 "//mojo/public/cpp/system", 46 "//mojo/public/cpp/system",
49 "//mojo/services/tracing/public/cpp",
50 "//mojo/shell/public/cpp", 47 "//mojo/shell/public/cpp",
51 ] 48 ]
52 } 49 }
53 50
54 mojo_application_manifest("manifest") { 51 mojo_application_manifest("manifest") {
55 application_name = "leveldb" 52 application_name = "leveldb"
56 source = "manifest.json" 53 source = "manifest.json"
57 } 54 }
58 55
59 mojo_native_application("apptests") { 56 mojo_native_application("apptests") {
(...skipping 13 matching lines...) Expand all
73 "//mojo/platform_handle:for_shared_library", 70 "//mojo/platform_handle:for_shared_library",
74 "//mojo/public/cpp/bindings", 71 "//mojo/public/cpp/bindings",
75 "//mojo/shell/public/cpp:test_support", 72 "//mojo/shell/public/cpp:test_support",
76 ] 73 ]
77 74
78 data_deps = [ 75 data_deps = [
79 ":leveldb", 76 ":leveldb",
80 "//components/filesystem:filesystem", 77 "//components/filesystem:filesystem",
81 ] 78 ]
82 } 79 }
OLDNEW
« no previous file with comments | « components/filesystem/filesystem.gyp ('k') | components/leveldb/leveldb.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698