| 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", | 22 "offline_page_metadata_store_sql.cc", |
| 23 "offline_page_metadata_store_sql.h", | 23 "offline_page_metadata_store_sql.h", |
| 24 "offline_page_model.cc", | 24 "offline_page_model.cc", |
| 25 "offline_page_model.h", | 25 "offline_page_model.h", |
| 26 "offline_page_storage_manager.cc", | 26 "offline_page_storage_manager.cc", |
| 27 "offline_page_storage_manager.h", | 27 "offline_page_storage_manager.h", |
| 28 "offline_page_types.h", |
| 28 "snapshot_controller.cc", | 29 "snapshot_controller.cc", |
| 29 "snapshot_controller.h", | 30 "snapshot_controller.h", |
| 30 ] | 31 ] |
| 31 | 32 |
| 32 deps = [ | 33 deps = [ |
| 33 ":switches", | 34 ":switches", |
| 34 "//base", | 35 "//base", |
| 35 "//components/bookmarks/browser", | 36 "//components/bookmarks/browser", |
| 36 "//components/keyed_service/core", | 37 "//components/keyed_service/core", |
| 37 "//components/leveldb_proto", | 38 "//components/leveldb_proto", |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 "//components/leveldb_proto", | 93 "//components/leveldb_proto", |
| 93 "//components/offline_pages/proto:offline_pages_proto", | 94 "//components/offline_pages/proto:offline_pages_proto", |
| 94 "//testing/gtest", | 95 "//testing/gtest", |
| 95 "//url", | 96 "//url", |
| 96 ] | 97 ] |
| 97 } | 98 } |
| 98 | 99 |
| 99 if (is_android) { | 100 if (is_android) { |
| 100 java_cpp_enum("offline_page_model_enums_java") { | 101 java_cpp_enum("offline_page_model_enums_java") { |
| 101 sources = [ | 102 sources = [ |
| 102 "offline_page_model.h", | 103 "offline_page_types.h", |
| 103 ] | 104 ] |
| 104 } | 105 } |
| 105 } | 106 } |
| OLD | NEW |