| 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 if (is_android) { | 5 if (is_android) { |
| 6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
| 7 } | 7 } |
| 8 | 8 |
| 9 # GYP: //components/offline_pages.gypi:offline_pages | 9 # GYP: //components/offline_pages.gypi:offline_pages |
| 10 static_library("offline_pages") { | 10 static_library("offline_pages") { |
| 11 sources = [ | 11 sources = [ |
| 12 "offline_page_archiver.h", | 12 "offline_page_archiver.h", |
| 13 "offline_page_item.cc", | 13 "offline_page_item.cc", |
| 14 "offline_page_item.h", | 14 "offline_page_item.h", |
| 15 "offline_page_metadata_store.cc", | 15 "offline_page_metadata_store.cc", |
| 16 "offline_page_metadata_store.h", | 16 "offline_page_metadata_store.h", |
| 17 "offline_page_metadata_store_impl.cc", | 17 "offline_page_metadata_store_impl.cc", |
| 18 "offline_page_metadata_store_impl.h", | 18 "offline_page_metadata_store_impl.h", |
| 19 "offline_page_metadata_store_sql.cc", |
| 20 "offline_page_metadata_store_sql.h", |
| 19 "offline_page_model.cc", | 21 "offline_page_model.cc", |
| 20 "offline_page_model.h", | 22 "offline_page_model.h", |
| 21 "snapshot_controller.cc", | 23 "snapshot_controller.cc", |
| 22 "snapshot_controller.h", | 24 "snapshot_controller.h", |
| 23 ] | 25 ] |
| 24 | 26 |
| 25 deps = [ | 27 deps = [ |
| 26 ":switches", | 28 ":switches", |
| 27 "//base", | 29 "//base", |
| 28 "//components/bookmarks/browser", | 30 "//components/bookmarks/browser", |
| 29 "//components/keyed_service/core", | 31 "//components/keyed_service/core", |
| 30 "//components/leveldb_proto", | 32 "//components/leveldb_proto", |
| 31 "//components/offline_pages/proto:offline_pages_proto", | 33 "//components/offline_pages/proto:offline_pages_proto", |
| 32 "//net", | 34 "//net", |
| 35 "//sql:sql", |
| 33 "//third_party/leveldatabase", | 36 "//third_party/leveldatabase", |
| 34 "//url", | 37 "//url", |
| 35 ] | 38 ] |
| 36 } | 39 } |
| 37 | 40 |
| 38 static_library("test_support") { | 41 static_library("test_support") { |
| 39 testonly = true | 42 testonly = true |
| 40 sources = [ | 43 sources = [ |
| 41 "offline_page_test_archiver.cc", | 44 "offline_page_test_archiver.cc", |
| 42 "offline_page_test_archiver.h", | 45 "offline_page_test_archiver.h", |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 ] | 89 ] |
| 87 } | 90 } |
| 88 | 91 |
| 89 if (is_android) { | 92 if (is_android) { |
| 90 java_cpp_enum("offline_page_model_enums_java") { | 93 java_cpp_enum("offline_page_model_enums_java") { |
| 91 sources = [ | 94 sources = [ |
| 92 "offline_page_model.h", | 95 "offline_page_model.h", |
| 93 ] | 96 ] |
| 94 } | 97 } |
| 95 } | 98 } |
| OLD | NEW |