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.
6 import("//build/config/android/rules.gni")
9 # GYP: //components/offline_pages.gypi:offline_pages
10 static_library("offline_pages") {
12 "offline_page_archiver.h",
13 "offline_page_feature.cc",
14 "offline_page_feature.h",
15 "offline_page_item.cc",
16 "offline_page_item.h",
17 "offline_page_metadata_store.cc",
18 "offline_page_metadata_store.h",
19 "offline_page_metadata_store_impl.cc",
20 "offline_page_metadata_store_impl.h",
21 "offline_page_model.cc",
22 "offline_page_model.h",
23 "offline_page_switches.cc",
24 "offline_page_switches.h",
29 "//components/keyed_service/core",
30 "//components/leveldb_proto",
31 "//components/offline_pages/proto:offline_pages_proto",
33 "//third_party/leveldatabase",
38 source_set("unit_tests") {
41 "offline_page_metadata_store_impl_unittest.cc",
42 "offline_page_model_unittest.cc",
47 "//components/offline_pages/proto:offline_pages_proto",
53 java_cpp_enum("offline_pages_enums_java") {
55 "offline_page_model.h",
58 "org/chromium/components/offlinepages/DeletePageResult.java",
59 "org/chromium/components/offlinepages/SavePageResult.java",