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_item.cc", | 8 "offline_page_item.cc", |
9 "offline_page_item.h", | 9 "offline_page_item.h", |
| 10 "offline_page_metadata_store.cc", |
| 11 "offline_page_metadata_store.h", |
10 "offline_page_model.cc", | 12 "offline_page_model.cc", |
11 "offline_page_model.h", | 13 "offline_page_model.h", |
12 ] | 14 ] |
13 | 15 |
14 deps = [ | 16 deps = [ |
15 "//base", | 17 "//base", |
16 "//components/keyed_service/core", | 18 "//components/keyed_service/core", |
17 "//net", | 19 "//net", |
18 "//url", | 20 "//url", |
19 ] | 21 ] |
20 } | 22 } |
| 23 |
| 24 source_set("unit_tests") { |
| 25 testonly = true |
| 26 sources = [ |
| 27 "offline_page_model_unittest.cc", |
| 28 ] |
| 29 |
| 30 deps = [ |
| 31 ":offline_pages", |
| 32 "//testing/gtest", |
| 33 ] |
| 34 } |
OLD | NEW |