| 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 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 # GN: //components/offline_pages:offline_pages | 8 # GN: //components/offline_pages:offline_pages |
| 9 'target_name': 'offline_pages', | 9 'target_name': 'offline_pages', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| 11 'include_dirs': [ | 11 'include_dirs': [ |
| 12 '..', | 12 '..', |
| 13 ], | 13 ], |
| 14 'dependencies': [ | 14 'dependencies': [ |
| 15 '../base/base.gyp:base', | 15 '../base/base.gyp:base', |
| 16 '../net/net.gyp:net', | 16 '../net/net.gyp:net', |
| 17 '../url/url.gyp:url_lib', | 17 '../url/url.gyp:url_lib', |
| 18 '../sql/sql.gyp:sql', | 18 '../sql/sql.gyp:sql', |
| 19 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | |
| 20 'components.gyp:leveldb_proto', | |
| 21 'keyed_service_core', | 19 'keyed_service_core', |
| 22 'offline_pages_proto', | |
| 23 ], | 20 ], |
| 24 'sources': [ | 21 'sources': [ |
| 25 'offline_pages/archive_manager.cc', | 22 'offline_pages/archive_manager.cc', |
| 26 'offline_pages/archive_manager.h', | 23 'offline_pages/archive_manager.h', |
| 27 'offline_pages/client_policy_controller.cc', | 24 'offline_pages/client_policy_controller.cc', |
| 28 'offline_pages/client_policy_controller.h', | 25 'offline_pages/client_policy_controller.h', |
| 29 'offline_pages/offline_page_archiver.h', | 26 'offline_pages/offline_page_archiver.h', |
| 30 'offline_pages/offline_page_client_policy.h', | 27 'offline_pages/offline_page_client_policy.h', |
| 31 'offline_pages/offline_page_feature.cc', | 28 'offline_pages/offline_page_feature.cc', |
| 32 'offline_pages/offline_page_feature.h', | 29 'offline_pages/offline_page_feature.h', |
| 33 'offline_pages/offline_page_item.cc', | 30 'offline_pages/offline_page_item.cc', |
| 34 'offline_pages/offline_page_item.h', | 31 'offline_pages/offline_page_item.h', |
| 35 'offline_pages/offline_page_metadata_store.cc', | 32 'offline_pages/offline_page_metadata_store.cc', |
| 36 'offline_pages/offline_page_metadata_store.h', | 33 'offline_pages/offline_page_metadata_store.h', |
| 37 'offline_pages/offline_page_metadata_store_impl.cc', | |
| 38 'offline_pages/offline_page_metadata_store_impl.h', | |
| 39 'offline_pages/offline_page_model.cc', | 34 'offline_pages/offline_page_model.cc', |
| 40 'offline_pages/offline_page_model.h', | 35 'offline_pages/offline_page_model.h', |
| 41 'offline_pages/offline_page_storage_manager.cc', | 36 'offline_pages/offline_page_storage_manager.cc', |
| 42 'offline_pages/offline_page_storage_manager.h', | 37 'offline_pages/offline_page_storage_manager.h', |
| 43 'offline_pages/offline_page_types.h', | 38 'offline_pages/offline_page_types.h', |
| 44 'offline_pages/snapshot_controller.cc', | 39 'offline_pages/snapshot_controller.cc', |
| 45 'offline_pages/snapshot_controller.h', | 40 'offline_pages/snapshot_controller.h', |
| 46 'offline_pages/offline_page_metadata_store_sql.cc', | 41 'offline_pages/offline_page_metadata_store_sql.cc', |
| 47 'offline_pages/offline_page_metadata_store_sql.h', | 42 'offline_pages/offline_page_metadata_store_sql.h', |
| 48 ], | 43 ], |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 '../url/url.gyp:url_lib', | 82 '../url/url.gyp:url_lib', |
| 88 'offline_pages', | 83 'offline_pages', |
| 89 ], | 84 ], |
| 90 'sources': [ | 85 'sources': [ |
| 91 'offline_pages/offline_page_test_archiver.h', | 86 'offline_pages/offline_page_test_archiver.h', |
| 92 'offline_pages/offline_page_test_archiver.cc', | 87 'offline_pages/offline_page_test_archiver.cc', |
| 93 'offline_pages/offline_page_test_store.h', | 88 'offline_pages/offline_page_test_store.h', |
| 94 'offline_pages/offline_page_test_store.cc', | 89 'offline_pages/offline_page_test_store.cc', |
| 95 ], | 90 ], |
| 96 }, | 91 }, |
| 97 { | |
| 98 # Protobuf compiler / generator for the offline page item protocol buffer. | |
| 99 # GN version: //components/offline_pages/proto | |
| 100 'target_name': 'offline_pages_proto', | |
| 101 'type': 'static_library', | |
| 102 'sources': [ 'offline_pages/proto/offline_pages.proto', ], | |
| 103 'variables': { | |
| 104 'proto_in_dir': 'offline_pages/proto', | |
| 105 'proto_out_dir': 'components/offline_pages/proto', | |
| 106 }, | |
| 107 'includes': [ '../build/protoc.gypi', ], | |
| 108 }, | |
| 109 ], | 92 ], |
| 110 'conditions': [ | 93 'conditions': [ |
| 111 ['OS == "android"', { | 94 ['OS == "android"', { |
| 112 'targets': [ | 95 'targets': [ |
| 113 { | 96 { |
| 114 # GN: //components/offline_pages:offline_page_model_enums_java | 97 # GN: //components/offline_pages:offline_page_model_enums_java |
| 115 'target_name': 'offline_page_model_enums_java', | 98 'target_name': 'offline_page_model_enums_java', |
| 116 'type': 'none', | 99 'type': 'none', |
| 117 'variables': { | 100 'variables': { |
| 118 'source_file': 'offline_pages/offline_page_types.h', | 101 'source_file': 'offline_pages/offline_page_types.h', |
| 119 }, | 102 }, |
| 120 'includes': [ '../build/android/java_cpp_enum.gypi' ], | 103 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 121 }, | 104 }, |
| 122 ], | 105 ], |
| 123 }], | 106 }], |
| 124 ], | 107 ], |
| 125 } | 108 } |
| OLD | NEW |