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 # GYP: //components/offline_pages.gypi:offline_pages | 5 # GYP: //components/offline_pages.gypi:offline_pages |
6 static_library("offline_pages") { | 6 static_library("offline_pages") { |
7 sources = [ | 7 sources = [ |
8 "offline_page_archiver.h", | 8 "offline_page_archiver.h", |
9 "offline_page_item.cc", | 9 "offline_page_item.cc", |
10 "offline_page_item.h", | 10 "offline_page_item.h", |
11 "offline_page_metadata_store.cc", | 11 "offline_page_metadata_store.cc", |
12 "offline_page_metadata_store.h", | 12 "offline_page_metadata_store.h", |
13 "offline_page_metadata_store_impl.cc", | |
14 "offline_page_metadata_store_impl.h", | |
13 "offline_page_model.cc", | 15 "offline_page_model.cc", |
14 "offline_page_model.h", | 16 "offline_page_model.h", |
15 ] | 17 ] |
16 | 18 |
17 deps = [ | 19 deps = [ |
18 "//base", | 20 "//base", |
19 "//components/keyed_service/core", | 21 "//components/keyed_service/core", |
22 "//components/leveldb_proto", | |
23 "//components/offline_pages/proto:offline_pages_proto", | |
20 "//net", | 24 "//net", |
25 "//third_party/leveldatabase", | |
21 "//url", | 26 "//url", |
22 ] | 27 ] |
23 } | 28 } |
24 | 29 |
25 source_set("unit_tests") { | 30 source_set("unit_tests") { |
26 testonly = true | 31 testonly = true |
27 sources = [ | 32 sources = [ |
33 "offline_page_metadata_store_impl_unittest.cc", | |
28 "offline_page_model_unittest.cc", | 34 "offline_page_model_unittest.cc", |
29 ] | 35 ] |
30 | 36 |
31 deps = [ | 37 deps = [ |
32 ":offline_pages", | 38 ":offline_pages", |
39 "//sync", | |
fgorski
2015/07/16 16:32:43
Do I need this?
Abhishek
2015/07/17 07:50:37
I had added it due to below error:
"gen/components
fgorski
2015/07/17 17:25:00
Did you try taking dependency on the protobuf?
"//
Abhishek
2015/07/20 07:24:07
Thanks!
Done.
| |
33 "//testing/gtest", | 40 "//testing/gtest", |
34 ] | 41 ] |
35 } | 42 } |
OLD | NEW |