| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'targets': [ | |
| 7 { | |
| 8 # GN: //components/offline_pages:offline_pages | |
| 9 'target_name': 'offline_pages', | |
| 10 'type': 'static_library', | |
| 11 'include_dirs': [ | |
| 12 '..', | |
| 13 ], | |
| 14 'dependencies': [ | |
| 15 '../base/base.gyp:base', | |
| 16 '../net/net.gyp:net', | |
| 17 '../url/url.gyp:url_lib', | |
| 18 '../sql/sql.gyp:sql', | |
| 19 'keyed_service_core', | |
| 20 ], | |
| 21 'sources': [ | |
| 22 'offline_pages/archive_manager.cc', | |
| 23 'offline_pages/archive_manager.h', | |
| 24 'offline_pages/client_namespace_constants.cc', | |
| 25 'offline_pages/client_namespace_constants.h', | |
| 26 'offline_pages/client_policy_controller.cc', | |
| 27 'offline_pages/client_policy_controller.h', | |
| 28 'offline_pages/offline_event_logger.cc', | |
| 29 'offline_pages/offline_event_logger.h', | |
| 30 'offline_pages/offline_page_archiver.h', | |
| 31 'offline_pages/offline_page_client_policy.h', | |
| 32 'offline_pages/offline_page_feature.cc', | |
| 33 'offline_pages/offline_page_feature.h', | |
| 34 'offline_pages/offline_page_item.cc', | |
| 35 'offline_pages/offline_page_item.h', | |
| 36 'offline_pages/offline_page_metadata_store.cc', | |
| 37 'offline_pages/offline_page_metadata_store.h', | |
| 38 'offline_pages/offline_page_metadata_store_sql.cc', | |
| 39 'offline_pages/offline_page_metadata_store_sql.h', | |
| 40 'offline_pages/offline_page_model.cc', | |
| 41 'offline_pages/offline_page_model.h', | |
| 42 'offline_pages/offline_page_model_event_logger.cc', | |
| 43 'offline_pages/offline_page_model_event_logger.h', | |
| 44 'offline_pages/offline_page_model_impl.cc', | |
| 45 'offline_pages/offline_page_model_impl.h', | |
| 46 'offline_pages/offline_page_storage_manager.cc', | |
| 47 'offline_pages/offline_page_storage_manager.h', | |
| 48 'offline_pages/offline_page_types.h', | |
| 49 'offline_pages/snapshot_controller.cc', | |
| 50 'offline_pages/snapshot_controller.h', | |
| 51 ], | |
| 52 }, | |
| 53 { | |
| 54 # GN: //components/offline_pages/background:background_offliner | |
| 55 'target_name': 'offline_pages_background_offliner', | |
| 56 'type': 'static_library', | |
| 57 'include_dirs': [ | |
| 58 '..', | |
| 59 '../..', | |
| 60 ], | |
| 61 'dependencies': [ | |
| 62 '../base/base.gyp:base', | |
| 63 '../net/net.gyp:net', | |
| 64 '../sql/sql.gyp:sql', | |
| 65 '../url/url.gyp:url_lib', | |
| 66 'keyed_service_core', | |
| 67 ], | |
| 68 'sources': [ | |
| 69 'offline_pages/background/device_conditions.h', | |
| 70 'offline_pages/background/offliner.h', | |
| 71 'offline_pages/background/offliner_factory.h', | |
| 72 'offline_pages/background/offliner_policy.h', | |
| 73 'offline_pages/background/request_coordinator.cc', | |
| 74 'offline_pages/background/request_coordinator.h', | |
| 75 'offline_pages/background/request_coordinator_event_logger.cc', | |
| 76 'offline_pages/background/request_coordinator_event_logger.h', | |
| 77 'offline_pages/background/request_picker.cc', | |
| 78 'offline_pages/background/request_picker.h', | |
| 79 'offline_pages/background/request_queue.cc', | |
| 80 'offline_pages/background/request_queue.h', | |
| 81 'offline_pages/background/request_queue_in_memory_store.cc', | |
| 82 'offline_pages/background/request_queue_in_memory_store.h', | |
| 83 'offline_pages/background/request_queue_store.h', | |
| 84 'offline_pages/background/request_queue_store_sql.cc', | |
| 85 'offline_pages/background/request_queue_store_sql.h', | |
| 86 'offline_pages/background/save_page_request.cc', | |
| 87 'offline_pages/background/save_page_request.h', | |
| 88 'offline_pages/background/scheduler.h', | |
| 89 ], | |
| 90 }, | |
| 91 { | |
| 92 # GN: //components/offline_pages/downloads:offline_pages_ui_adapter | |
| 93 'target_name': 'offline_pages_ui_adapter', | |
| 94 'type': 'static_library', | |
| 95 'include_dirs': [ | |
| 96 '..', | |
| 97 '../..', | |
| 98 ], | |
| 99 'dependencies': [ | |
| 100 '../base/base.gyp:base', | |
| 101 ], | |
| 102 'sources': [ | |
| 103 'offline_pages/downloads/download_ui_adapter.cc', | |
| 104 'offline_pages/downloads/download_ui_adapter.h', | |
| 105 'offline_pages/downloads/download_ui_item.cc', | |
| 106 'offline_pages/downloads/download_ui_item.h', | |
| 107 'offline_pages/downloads/offline_page_download_notifier.h', | |
| 108 ], | |
| 109 }, | |
| 110 { | |
| 111 # GN version: //components/offline_pages:test_support | |
| 112 'target_name': 'offline_pages_test_support', | |
| 113 'type': 'static_library', | |
| 114 'dependencies': [ | |
| 115 '../base/base.gyp:base', | |
| 116 '../testing/gtest.gyp:gtest', | |
| 117 '../url/url.gyp:url_lib', | |
| 118 'offline_pages', | |
| 119 ], | |
| 120 'sources': [ | |
| 121 'offline_pages/offline_page_test_archiver.cc', | |
| 122 'offline_pages/offline_page_test_archiver.h', | |
| 123 'offline_pages/offline_page_test_store.cc', | |
| 124 'offline_pages/offline_page_test_store.h', | |
| 125 'offline_pages/stub_offline_page_model.cc', | |
| 126 'offline_pages/stub_offline_page_model.h', | |
| 127 ], | |
| 128 }, | |
| 129 ], | |
| 130 'conditions': [ | |
| 131 ['OS == "android"', { | |
| 132 'targets': [ | |
| 133 { | |
| 134 # GN: //components/offline_pages:offline_page_model_enums_java | |
| 135 'target_name': 'offline_page_model_enums_java', | |
| 136 'type': 'none', | |
| 137 'variables': { | |
| 138 'source_file': 'offline_pages/offline_page_types.h', | |
| 139 }, | |
| 140 'includes': [ '../build/android/java_cpp_enum.gypi' ], | |
| 141 }, | |
| 142 ], | |
| 143 }], | |
| 144 ], | |
| 145 } | |
| OLD | NEW |