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