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

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

Issue 1708253004: mojo: Get mojo:leveldb and mojo:filesystem compiled into content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Probable fix to the build flake. 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",
14 "leveldb_database_impl.cc", 12 "leveldb_database_impl.cc",
15 "leveldb_database_impl.h", 13 "leveldb_database_impl.h",
16 "leveldb_file_thread.cc", 14 "leveldb_file_thread.cc",
17 "leveldb_file_thread.h", 15 "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",
29 "//mojo/shell/public/cpp", 28 "//mojo/shell/public/cpp",
30 "//third_party/leveldatabase", 29 "//third_party/leveldatabase",
31 ] 30 ]
32 } 31 }
33 32
34 mojo_native_application("leveldb") { 33 mojo_native_application("leveldb") {
35 sources = [ 34 sources = [
35 "leveldb_app.cc",
36 "leveldb_app.h",
36 "main.cc", 37 "main.cc",
37 ] 38 ]
38 39
39 deps = [ 40 deps = [
40 ":lib", 41 ":lib",
41 ":manifest", 42 ":manifest",
43 "//components/leveldb/public/interfaces",
42 "//mojo/common", 44 "//mojo/common",
43 "//mojo/environment:chromium", 45 "//mojo/environment:chromium",
44 "//mojo/platform_handle:for_shared_library", 46 "//mojo/platform_handle:for_shared_library",
45 "//mojo/public/cpp/bindings", 47 "//mojo/public/cpp/bindings",
46 "//mojo/public/cpp/system", 48 "//mojo/public/cpp/system",
49 "//mojo/services/tracing/public/cpp",
47 "//mojo/shell/public/cpp", 50 "//mojo/shell/public/cpp",
48 ] 51 ]
49 } 52 }
50 53
51 mojo_application_manifest("manifest") { 54 mojo_application_manifest("manifest") {
52 application_name = "leveldb" 55 application_name = "leveldb"
53 source = "manifest.json" 56 source = "manifest.json"
54 } 57 }
55 58
56 mojo_native_application("apptests") { 59 mojo_native_application("apptests") {
(...skipping 13 matching lines...) Expand all
70 "//mojo/platform_handle:for_shared_library", 73 "//mojo/platform_handle:for_shared_library",
71 "//mojo/public/cpp/bindings", 74 "//mojo/public/cpp/bindings",
72 "//mojo/shell/public/cpp:test_support", 75 "//mojo/shell/public/cpp:test_support",
73 ] 76 ]
74 77
75 data_deps = [ 78 data_deps = [
76 ":leveldb", 79 ":leveldb",
77 "//components/filesystem:filesystem", 80 "//components/filesystem:filesystem",
78 ] 81 ]
79 } 82 }
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