| Index: components/offline_pages/core/prefetch/BUILD.gn
|
| diff --git a/components/offline_pages/core/prefetch/BUILD.gn b/components/offline_pages/core/prefetch/BUILD.gn
|
| index 85d9fcba5f06856bec8809f4051056e683447ded..c89b857eb1a49f4300e97e69e21f5e2afd947894 100644
|
| --- a/components/offline_pages/core/prefetch/BUILD.gn
|
| +++ b/components/offline_pages/core/prefetch/BUILD.gn
|
| @@ -5,9 +5,12 @@
|
| if (is_android) {
|
| import("//build/config/android/rules.gni")
|
| }
|
| +import("//third_party/protobuf/proto_library.gni")
|
|
|
| static_library("prefetch") {
|
| sources = [
|
| + "generate_page_bundle_request.cc",
|
| + "generate_page_bundle_request.h",
|
| "prefetch_request_fetcher.cc",
|
| "prefetch_request_fetcher.h",
|
| "prefetch_service.h",
|
| @@ -15,6 +18,9 @@ static_library("prefetch") {
|
| "prefetch_service_impl.h",
|
| ]
|
|
|
| + public_deps = [
|
| + ":proto",
|
| + ]
|
| deps = [
|
| "//base",
|
| "//components/keyed_service/core",
|
| @@ -24,10 +30,23 @@ static_library("prefetch") {
|
| ]
|
| }
|
|
|
| +proto_library("proto") {
|
| + sources = [
|
| + "proto/any.proto",
|
| + "proto/offline_pages.proto",
|
| + "proto/operation.proto",
|
| + "proto/status.proto",
|
| + "proto/timestamp.proto",
|
| + ]
|
| +}
|
| +
|
| source_set("unit_tests") {
|
| testonly = true
|
| sources = [
|
| + "generate_page_bundle_request_unittest.cc",
|
| "prefetch_request_fetcher_unittest.cc",
|
| + "prefetch_request_test_base.cc",
|
| + "prefetch_request_test_base.h",
|
| "prefetch_service_impl_unittest.cc",
|
| ]
|
|
|
|
|