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

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

Issue 2007523003: Revert of delete the levelDB storage implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/offline_pages.gypi ('k') | components/offline_pages/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 } 7 }
8 8
9 # GYP: //components/offline_pages.gypi:offline_pages 9 # GYP: //components/offline_pages.gypi:offline_pages
10 static_library("offline_pages") { 10 static_library("offline_pages") {
11 sources = [ 11 sources = [
12 "archive_manager.cc", 12 "archive_manager.cc",
13 "archive_manager.h", 13 "archive_manager.h",
14 "client_policy_controller.cc", 14 "client_policy_controller.cc",
15 "client_policy_controller.h", 15 "client_policy_controller.h",
16 "offline_page_archiver.h", 16 "offline_page_archiver.h",
17 "offline_page_client_policy.h", 17 "offline_page_client_policy.h",
18 "offline_page_item.cc", 18 "offline_page_item.cc",
19 "offline_page_item.h", 19 "offline_page_item.h",
20 "offline_page_metadata_store.cc", 20 "offline_page_metadata_store.cc",
21 "offline_page_metadata_store.h", 21 "offline_page_metadata_store.h",
22 "offline_page_metadata_store_impl.cc",
23 "offline_page_metadata_store_impl.h",
22 "offline_page_metadata_store_sql.cc", 24 "offline_page_metadata_store_sql.cc",
23 "offline_page_metadata_store_sql.h", 25 "offline_page_metadata_store_sql.h",
24 "offline_page_model.cc", 26 "offline_page_model.cc",
25 "offline_page_model.h", 27 "offline_page_model.h",
26 "offline_page_storage_manager.cc", 28 "offline_page_storage_manager.cc",
27 "offline_page_storage_manager.h", 29 "offline_page_storage_manager.h",
28 "offline_page_types.h", 30 "offline_page_types.h",
29 "snapshot_controller.cc", 31 "snapshot_controller.cc",
30 "snapshot_controller.h", 32 "snapshot_controller.h",
31 ] 33 ]
32 34
33 deps = [ 35 deps = [
34 ":switches", 36 ":switches",
35 "//base", 37 "//base",
36 "//components/bookmarks/browser", 38 "//components/bookmarks/browser",
37 "//components/keyed_service/core", 39 "//components/keyed_service/core",
40 "//components/leveldb_proto",
41 "//components/offline_pages/proto:offline_pages_proto",
38 "//net", 42 "//net",
39 "//sql:sql", 43 "//sql:sql",
44 "//third_party/leveldatabase",
40 "//url", 45 "//url",
41 ] 46 ]
42 } 47 }
43 48
44 static_library("test_support") { 49 static_library("test_support") {
45 testonly = true 50 testonly = true
46 sources = [ 51 sources = [
47 "offline_page_test_archiver.cc", 52 "offline_page_test_archiver.cc",
48 "offline_page_test_archiver.h", 53 "offline_page_test_archiver.h",
49 "offline_page_test_store.cc", 54 "offline_page_test_store.cc",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 "offline_page_storage_manager_unittest.cc", 86 "offline_page_storage_manager_unittest.cc",
82 "snapshot_controller_unittest.cc", 87 "snapshot_controller_unittest.cc",
83 ] 88 ]
84 89
85 deps = [ 90 deps = [
86 ":offline_pages", 91 ":offline_pages",
87 ":switches", 92 ":switches",
88 ":test_support", 93 ":test_support",
89 "//base", 94 "//base",
90 "//base/test:test_support", 95 "//base/test:test_support",
96 "//components/leveldb_proto",
97 "//components/offline_pages/proto:offline_pages_proto",
91 "//testing/gtest", 98 "//testing/gtest",
92 "//url", 99 "//url",
93 ] 100 ]
94 } 101 }
95 102
96 if (is_android) { 103 if (is_android) {
97 java_cpp_enum("offline_page_model_enums_java") { 104 java_cpp_enum("offline_page_model_enums_java") {
98 sources = [ 105 sources = [
99 "offline_page_types.h", 106 "offline_page_types.h",
100 ] 107 ]
101 } 108 }
102 } 109 }
OLDNEW
« no previous file with comments | « components/offline_pages.gypi ('k') | components/offline_pages/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698