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

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

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years 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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 if (is_android) {
6 import("//build/config/android/rules.gni")
7 }
8
9 static_library("offline_pages") {
10 sources = [
11 "archive_manager.cc",
12 "archive_manager.h",
13 "client_namespace_constants.cc",
14 "client_namespace_constants.h",
15 "client_policy_controller.cc",
16 "client_policy_controller.h",
17 "offline_event_logger.cc",
18 "offline_event_logger.h",
19 "offline_page_archiver.h",
20 "offline_page_client_policy.h",
21 "offline_page_item.cc",
22 "offline_page_item.h",
23 "offline_page_metadata_store.cc",
24 "offline_page_metadata_store.h",
25 "offline_page_metadata_store_sql.cc",
26 "offline_page_metadata_store_sql.h",
27 "offline_page_model.cc",
28 "offline_page_model.h",
29 "offline_page_model_event_logger.cc",
30 "offline_page_model_event_logger.h",
31 "offline_page_model_impl.cc",
32 "offline_page_model_impl.h",
33 "offline_page_model_query.cc",
34 "offline_page_model_query.h",
35 "offline_page_storage_manager.cc",
36 "offline_page_storage_manager.h",
37 "offline_page_types.h",
38 "offline_store_types.h",
39 "snapshot_controller.cc",
40 "snapshot_controller.h",
41 ]
42
43 deps = [
44 ":switches",
45 "//base",
46 "//components/keyed_service/core",
47 "//net",
48 "//sql:sql",
49 "//url",
50 ]
51 }
52
53 static_library("test_support") {
54 testonly = true
55 sources = [
56 "offline_page_test_archiver.cc",
57 "offline_page_test_archiver.h",
58 "offline_page_test_store.cc",
59 "offline_page_test_store.h",
60 "stub_offline_page_model.cc",
61 "stub_offline_page_model.h",
62 ]
63
64 deps = [
65 ":offline_pages",
66 ":switches",
67 "//base",
68 "//components/keyed_service/core",
69 "//testing/gtest",
70 "//url",
71 ]
72 }
73
74 static_library("switches") {
75 sources = [
76 "offline_page_feature.cc",
77 "offline_page_feature.h",
78 ]
79
80 deps = [
81 "//base",
82 "//components/version_info",
83 ]
84 }
85
86 source_set("unit_tests") {
87 testonly = true
88 sources = [
89 "archive_manager_unittest.cc",
90 "client_policy_controller_unittest.cc",
91 "offline_event_logger_unittest.cc",
92 "offline_page_metadata_store_impl_unittest.cc",
93 "offline_page_model_event_logger_unittest.cc",
94 "offline_page_model_impl_unittest.cc",
95 "offline_page_model_query_unittest.cc",
96 "offline_page_storage_manager_unittest.cc",
97 "snapshot_controller_unittest.cc",
98 ]
99
100 deps = [
101 ":offline_pages",
102 ":switches",
103 ":test_support",
104 "//base",
105 "//base/test:test_support",
106 "//sql:sql",
107 "//testing/gtest",
108 "//url",
109 ]
110 }
111
112 if (is_android) {
113 java_cpp_enum("offline_page_model_enums_java") {
114 sources = [
115 "background/request_notifier.h",
116 "background/request_queue_results.h",
117 "background/save_page_request.h",
118 "offline_page_types.h",
119 "offline_store_types.h",
120 ]
121 }
122 }
OLDNEW
« no previous file with comments | « components/ntp_snippets/offline_pages/recent_tab_suggestions_provider_unittest.cc ('k') | components/offline_pages/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698