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

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

Issue 1947323002: [Offline Pages] Implement OfflinePageStorageManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rebasing 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/offline_page_model.h » ('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 "client_policy_controller.cc", 12 "client_policy_controller.cc",
13 "client_policy_controller.h", 13 "client_policy_controller.h",
14 "offline_page_archiver.h", 14 "offline_page_archiver.h",
15 "offline_page_client_policy.h", 15 "offline_page_client_policy.h",
16 "offline_page_item.cc", 16 "offline_page_item.cc",
17 "offline_page_item.h", 17 "offline_page_item.h",
18 "offline_page_metadata_store.cc", 18 "offline_page_metadata_store.cc",
19 "offline_page_metadata_store.h", 19 "offline_page_metadata_store.h",
20 "offline_page_metadata_store_impl.cc", 20 "offline_page_metadata_store_impl.cc",
21 "offline_page_metadata_store_impl.h", 21 "offline_page_metadata_store_impl.h",
22 "offline_page_metadata_store_sql.cc", 22 "offline_page_metadata_store_sql.cc",
23 "offline_page_metadata_store_sql.h", 23 "offline_page_metadata_store_sql.h",
24 "offline_page_model.cc", 24 "offline_page_model.cc",
25 "offline_page_model.h", 25 "offline_page_model.h",
26 "offline_page_storage_manager.cc",
27 "offline_page_storage_manager.h",
26 "snapshot_controller.cc", 28 "snapshot_controller.cc",
27 "snapshot_controller.h", 29 "snapshot_controller.h",
28 ] 30 ]
29 31
30 deps = [ 32 deps = [
31 ":switches", 33 ":switches",
32 "//base", 34 "//base",
33 "//components/bookmarks/browser", 35 "//components/bookmarks/browser",
34 "//components/keyed_service/core", 36 "//components/keyed_service/core",
35 "//components/leveldb_proto", 37 "//components/leveldb_proto",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 "//components/version_info", 72 "//components/version_info",
71 ] 73 ]
72 } 74 }
73 75
74 source_set("unit_tests") { 76 source_set("unit_tests") {
75 testonly = true 77 testonly = true
76 sources = [ 78 sources = [
77 "client_policy_controller_unittest.cc", 79 "client_policy_controller_unittest.cc",
78 "offline_page_metadata_store_impl_unittest.cc", 80 "offline_page_metadata_store_impl_unittest.cc",
79 "offline_page_model_unittest.cc", 81 "offline_page_model_unittest.cc",
82 "offline_page_storage_manager_unittest.cc",
80 "snapshot_controller_unittest.cc", 83 "snapshot_controller_unittest.cc",
81 ] 84 ]
82 85
83 deps = [ 86 deps = [
84 ":offline_pages", 87 ":offline_pages",
85 ":switches", 88 ":switches",
86 ":test_support", 89 ":test_support",
87 "//base", 90 "//base",
88 "//base/test:test_support", 91 "//base/test:test_support",
89 "//components/leveldb_proto", 92 "//components/leveldb_proto",
90 "//components/offline_pages/proto:offline_pages_proto", 93 "//components/offline_pages/proto:offline_pages_proto",
91 "//testing/gtest", 94 "//testing/gtest",
92 "//url", 95 "//url",
93 ] 96 ]
94 } 97 }
95 98
96 if (is_android) { 99 if (is_android) {
97 java_cpp_enum("offline_page_model_enums_java") { 100 java_cpp_enum("offline_page_model_enums_java") {
98 sources = [ 101 sources = [
99 "offline_page_model.h", 102 "offline_page_model.h",
100 ] 103 ]
101 } 104 }
102 } 105 }
OLDNEW
« no previous file with comments | « components/offline_pages.gypi ('k') | components/offline_pages/offline_page_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698