OLD | NEW |
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") { |
(...skipping 18 matching lines...) Expand all Loading... |
29 "offline_page_model.h", | 29 "offline_page_model.h", |
30 "offline_page_model_event_logger.cc", | 30 "offline_page_model_event_logger.cc", |
31 "offline_page_model_event_logger.h", | 31 "offline_page_model_event_logger.h", |
32 "offline_page_model_impl.cc", | 32 "offline_page_model_impl.cc", |
33 "offline_page_model_impl.h", | 33 "offline_page_model_impl.h", |
34 "offline_page_storage_manager.cc", | 34 "offline_page_storage_manager.cc", |
35 "offline_page_storage_manager.h", | 35 "offline_page_storage_manager.h", |
36 "offline_page_types.h", | 36 "offline_page_types.h", |
37 "snapshot_controller.cc", | 37 "snapshot_controller.cc", |
38 "snapshot_controller.h", | 38 "snapshot_controller.h", |
| 39 "stub_offline_page_model.cc", |
| 40 "stub_offline_page_model.h", |
39 ] | 41 ] |
40 | 42 |
41 deps = [ | 43 deps = [ |
42 ":switches", | 44 ":switches", |
43 "//base", | 45 "//base", |
44 "//components/keyed_service/core", | 46 "//components/keyed_service/core", |
45 "//net", | 47 "//net", |
46 "//sql:sql", | 48 "//sql:sql", |
47 "//url", | 49 "//url", |
48 ] | 50 ] |
49 } | 51 } |
50 | 52 |
51 static_library("test_support") { | 53 static_library("test_support") { |
52 testonly = true | 54 testonly = true |
53 sources = [ | 55 sources = [ |
54 "offline_page_test_archiver.cc", | 56 "offline_page_test_archiver.cc", |
55 "offline_page_test_archiver.h", | 57 "offline_page_test_archiver.h", |
56 "offline_page_test_store.cc", | 58 "offline_page_test_store.cc", |
57 "offline_page_test_store.h", | 59 "offline_page_test_store.h", |
58 "stub_offline_page_model.cc", | |
59 "stub_offline_page_model.h", | |
60 ] | 60 ] |
61 | 61 |
62 deps = [ | 62 deps = [ |
63 ":offline_pages", | 63 ":offline_pages", |
64 ":switches", | 64 ":switches", |
65 "//base", | 65 "//base", |
66 "//testing/gtest", | 66 "//testing/gtest", |
67 "//url", | 67 "//url", |
68 ] | 68 ] |
69 } | 69 } |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 if (is_android) { | 107 if (is_android) { |
108 java_cpp_enum("offline_page_model_enums_java") { | 108 java_cpp_enum("offline_page_model_enums_java") { |
109 sources = [ | 109 sources = [ |
110 "background/request_queue.h", | 110 "background/request_queue.h", |
111 "background/save_page_request.h", | 111 "background/save_page_request.h", |
112 "offline_page_types.h", | 112 "offline_page_types.h", |
113 ] | 113 ] |
114 } | 114 } |
115 } | 115 } |
OLD | NEW |