summaryrefslogtreecommitdiffstats
path: root/components/offline_pages/BUILD.gn
diff options
context:
space:
mode:
authorabhishek.a21 <abhishek.a21@samsung.com>2015-07-22 02:11:44 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-22 09:12:55 +0000
commitfaf6421d12a9499b3a3d5266b5ceb33ea81ce1d2 (patch)
treefe0c36593acb4bd50c5372080be04bc0b5e1a83f /components/offline_pages/BUILD.gn
parent1067392cb46b944e198f085fad7e226d700ad070 (diff)
downloadchromium_src-faf6421d12a9499b3a3d5266b5ceb33ea81ce1d2.zip
chromium_src-faf6421d12a9499b3a3d5266b5ceb33ea81ce1d2.tar.gz
chromium_src-faf6421d12a9499b3a3d5266b5ceb33ea81ce1d2.tar.bz2
Componentize //chrome/browser/offline_pages
Componentize offline_page_metadata_store_impl.[cc/h], unittest and offline_pages.proto file. Updated BUILD.gn and corresponding .gypi files for the same. BUG=507284 Review URL: https://codereview.chromium.org/1226173004 Cr-Commit-Position: refs/heads/master@{#339852}
Diffstat (limited to 'components/offline_pages/BUILD.gn')
-rw-r--r--components/offline_pages/BUILD.gn7
1 files changed, 7 insertions, 0 deletions
diff --git a/components/offline_pages/BUILD.gn b/components/offline_pages/BUILD.gn
index 36cee85..47f6adc 100644
--- a/components/offline_pages/BUILD.gn
+++ b/components/offline_pages/BUILD.gn
@@ -10,6 +10,8 @@ static_library("offline_pages") {
"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",
]
@@ -17,7 +19,10 @@ static_library("offline_pages") {
deps = [
"//base",
"//components/keyed_service/core",
+ "//components/leveldb_proto",
+ "//components/offline_pages/proto:offline_pages_proto",
"//net",
+ "//third_party/leveldatabase",
"//url",
]
}
@@ -25,11 +30,13 @@ static_library("offline_pages") {
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",
]
}