forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.gn
62 lines (56 loc) · 1.51 KB
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
if (is_android) {
import("//build/config/android/rules.gni")
}
# GYP: //components/offline_pages.gypi:offline_pages
static_library("offline_pages") {
sources = [
"offline_page_archiver.h",
"offline_page_feature.cc",
"offline_page_feature.h",
"offline_page_item.cc",
"offline_page_item.h",
"offline_page_metadata_store.cc",
"offline_page_metadata_store.h",
"offline_page_metadata_store_impl.cc",
"offline_page_metadata_store_impl.h",
"offline_page_model.cc",
"offline_page_model.h",
"offline_page_switches.cc",
"offline_page_switches.h",
]
deps = [
"//base",
"//components/keyed_service/core",
"//components/leveldb_proto",
"//components/offline_pages/proto:offline_pages_proto",
"//net",
"//third_party/leveldatabase",
"//url",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"offline_page_metadata_store_impl_unittest.cc",
"offline_page_model_unittest.cc",
]
deps = [
":offline_pages",
"//components/offline_pages/proto:offline_pages_proto",
"//testing/gtest",
]
}
if (is_android) {
java_cpp_enum("offline_pages_enums_java") {
sources = [
"offline_page_model.h",
]
outputs = [
"org/chromium/components/offlinepages/DeletePageResult.java",
"org/chromium/components/offlinepages/SavePageResult.java",
]
}
}