| 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 static_library("offline_pages") { | 9 static_library("offline_pages") { |
| 10 sources = [ | 10 sources = [ |
| 11 "archive_manager.cc", | 11 "archive_manager.cc", |
| 12 "archive_manager.h", | 12 "archive_manager.h", |
| 13 "client_namespace_constants.cc", | 13 "client_namespace_constants.cc", |
| 14 "client_namespace_constants.h", | 14 "client_namespace_constants.h", |
| 15 "client_policy_controller.cc", | 15 "client_policy_controller.cc", |
| 16 "client_policy_controller.h", | 16 "client_policy_controller.h", |
| 17 "loaded_offline_page_info.cc", |
| 18 "loaded_offline_page_info.h", |
| 17 "offline_event_logger.cc", | 19 "offline_event_logger.cc", |
| 18 "offline_event_logger.h", | 20 "offline_event_logger.h", |
| 19 "offline_page_archiver.h", | 21 "offline_page_archiver.h", |
| 20 "offline_page_client_policy.h", | 22 "offline_page_client_policy.h", |
| 21 "offline_page_item.cc", | 23 "offline_page_item.cc", |
| 22 "offline_page_item.h", | 24 "offline_page_item.h", |
| 23 "offline_page_metadata_store.cc", | 25 "offline_page_metadata_store.cc", |
| 24 "offline_page_metadata_store.h", | 26 "offline_page_metadata_store.h", |
| 25 "offline_page_metadata_store_sql.cc", | 27 "offline_page_metadata_store_sql.cc", |
| 26 "offline_page_metadata_store_sql.h", | 28 "offline_page_metadata_store_sql.h", |
| 27 "offline_page_model.cc", | 29 "offline_page_model.cc", |
| 28 "offline_page_model.h", | 30 "offline_page_model.h", |
| 29 "offline_page_model_event_logger.cc", | 31 "offline_page_model_event_logger.cc", |
| 30 "offline_page_model_event_logger.h", | 32 "offline_page_model_event_logger.h", |
| 31 "offline_page_model_impl.cc", | 33 "offline_page_model_impl.cc", |
| 32 "offline_page_model_impl.h", | 34 "offline_page_model_impl.h", |
| 33 "offline_page_storage_manager.cc", | 35 "offline_page_storage_manager.cc", |
| 34 "offline_page_storage_manager.h", | 36 "offline_page_storage_manager.h", |
| 35 "offline_page_types.h", | 37 "offline_page_types.h", |
| 36 "offline_store_types.h", | 38 "offline_store_types.h", |
| 37 "snapshot_controller.cc", | 39 "snapshot_controller.cc", |
| 38 "snapshot_controller.h", | 40 "snapshot_controller.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", |
| 47 "//components/offline_pages/request_header:request_header", |
| 45 "//net", | 48 "//net", |
| 46 "//sql:sql", | 49 "//sql:sql", |
| 47 "//url", | 50 "//url", |
| 48 ] | 51 ] |
| 49 } | 52 } |
| 50 | 53 |
| 51 static_library("test_support") { | 54 static_library("test_support") { |
| 52 testonly = true | 55 testonly = true |
| 53 sources = [ | 56 sources = [ |
| 54 "offline_page_test_archiver.cc", | 57 "offline_page_test_archiver.cc", |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 if (is_android) { | 111 if (is_android) { |
| 109 java_cpp_enum("offline_page_model_enums_java") { | 112 java_cpp_enum("offline_page_model_enums_java") { |
| 110 sources = [ | 113 sources = [ |
| 111 "background/request_queue.h", | 114 "background/request_queue.h", |
| 112 "background/save_page_request.h", | 115 "background/save_page_request.h", |
| 113 "offline_page_types.h", | 116 "offline_page_types.h", |
| 114 "offline_store_types.h", | 117 "offline_store_types.h", |
| 115 ] | 118 ] |
| 116 } | 119 } |
| 117 } | 120 } |
| OLD | NEW |