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

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

Issue 1977853004: [Offline pages] Adding ArchiveManager to abstract offline archives management (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding a missing destructor for OfflinePageStorageManager::Client 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/archive_manager.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 "archive_manager.cc",
13 "archive_manager.h",
12 "client_policy_controller.cc", 14 "client_policy_controller.cc",
13 "client_policy_controller.h", 15 "client_policy_controller.h",
14 "offline_page_archiver.h", 16 "offline_page_archiver.h",
15 "offline_page_client_policy.h", 17 "offline_page_client_policy.h",
16 "offline_page_item.cc", 18 "offline_page_item.cc",
17 "offline_page_item.h", 19 "offline_page_item.h",
18 "offline_page_metadata_store.cc", 20 "offline_page_metadata_store.cc",
19 "offline_page_metadata_store.h", 21 "offline_page_metadata_store.h",
20 "offline_page_metadata_store_impl.cc", 22 "offline_page_metadata_store_impl.cc",
21 "offline_page_metadata_store_impl.h", 23 "offline_page_metadata_store_impl.h",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 72
71 deps = [ 73 deps = [
72 "//base", 74 "//base",
73 "//components/version_info", 75 "//components/version_info",
74 ] 76 ]
75 } 77 }
76 78
77 source_set("unit_tests") { 79 source_set("unit_tests") {
78 testonly = true 80 testonly = true
79 sources = [ 81 sources = [
82 "archive_manager_unittest.cc",
80 "client_policy_controller_unittest.cc", 83 "client_policy_controller_unittest.cc",
81 "offline_page_metadata_store_impl_unittest.cc", 84 "offline_page_metadata_store_impl_unittest.cc",
82 "offline_page_model_unittest.cc", 85 "offline_page_model_unittest.cc",
83 "offline_page_storage_manager_unittest.cc", 86 "offline_page_storage_manager_unittest.cc",
84 "snapshot_controller_unittest.cc", 87 "snapshot_controller_unittest.cc",
85 ] 88 ]
86 89
87 deps = [ 90 deps = [
88 ":offline_pages", 91 ":offline_pages",
89 ":switches", 92 ":switches",
90 ":test_support", 93 ":test_support",
91 "//base", 94 "//base",
92 "//base/test:test_support", 95 "//base/test:test_support",
93 "//components/leveldb_proto", 96 "//components/leveldb_proto",
94 "//components/offline_pages/proto:offline_pages_proto", 97 "//components/offline_pages/proto:offline_pages_proto",
95 "//testing/gtest", 98 "//testing/gtest",
96 "//url", 99 "//url",
97 ] 100 ]
98 } 101 }
99 102
100 if (is_android) { 103 if (is_android) {
101 java_cpp_enum("offline_page_model_enums_java") { 104 java_cpp_enum("offline_page_model_enums_java") {
102 sources = [ 105 sources = [
103 "offline_page_types.h", 106 "offline_page_types.h",
104 ] 107 ]
105 } 108 }
106 } 109 }
OLDNEW
« no previous file with comments | « components/offline_pages.gypi ('k') | components/offline_pages/archive_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698