Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: components/history.gypi

Issue 849323002: Componentize HistoryDatabase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 version: //components/history/core/browser 8 # GN version: //components/history/core/browser
9 'target_name': 'history_core_browser', 9 'target_name': 'history_core_browser',
10 'type': 'static_library', 10 'type': 'static_library',
(...skipping 22 matching lines...) Expand all
33 'history/core/browser/download_row.h', 33 'history/core/browser/download_row.h',
34 'history/core/browser/download_types.cc', 34 'history/core/browser/download_types.cc',
35 'history/core/browser/download_types.h', 35 'history/core/browser/download_types.h',
36 'history/core/browser/history_backend_notifier.h', 36 'history/core/browser/history_backend_notifier.h',
37 'history/core/browser/history_backend_observer.h', 37 'history/core/browser/history_backend_observer.h',
38 'history/core/browser/history_client.cc', 38 'history/core/browser/history_client.cc',
39 'history/core/browser/history_client.h', 39 'history/core/browser/history_client.h',
40 'history/core/browser/history_constants.cc', 40 'history/core/browser/history_constants.cc',
41 'history/core/browser/history_constants.h', 41 'history/core/browser/history_constants.h',
42 'history/core/browser/history_context.h', 42 'history/core/browser/history_context.h',
43 'history/core/browser/history_database.cc',
44 'history/core/browser/history_database.h',
45 'history/core/browser/history_database_params.cc',
46 'history/core/browser/history_database_params.h',
43 'history/core/browser/history_db_task.h', 47 'history/core/browser/history_db_task.h',
44 'history/core/browser/history_match.cc', 48 'history/core/browser/history_match.cc',
45 'history/core/browser/history_match.h', 49 'history/core/browser/history_match.h',
46 'history/core/browser/history_service_observer.h', 50 'history/core/browser/history_service_observer.h',
47 'history/core/browser/history_types.cc', 51 'history/core/browser/history_types.cc',
48 'history/core/browser/history_types.h', 52 'history/core/browser/history_types.h',
49 'history/core/browser/in_memory_database.cc', 53 'history/core/browser/in_memory_database.cc',
50 'history/core/browser/in_memory_database.h', 54 'history/core/browser/in_memory_database.h',
51 'history/core/browser/in_memory_url_index_types.cc', 55 'history/core/browser/in_memory_url_index_types.cc',
52 'history/core/browser/in_memory_url_index_types.h', 56 'history/core/browser/in_memory_url_index_types.h',
(...skipping 15 matching lines...) Expand all
68 'history/core/browser/url_utils.h', 72 'history/core/browser/url_utils.h',
69 'history/core/browser/visit_database.cc', 73 'history/core/browser/visit_database.cc',
70 'history/core/browser/visit_database.h', 74 'history/core/browser/visit_database.h',
71 'history/core/browser/visit_filter.cc', 75 'history/core/browser/visit_filter.cc',
72 'history/core/browser/visit_filter.h', 76 'history/core/browser/visit_filter.h',
73 'history/core/browser/visit_tracker.cc', 77 'history/core/browser/visit_tracker.cc',
74 'history/core/browser/visit_tracker.h', 78 'history/core/browser/visit_tracker.h',
75 'history/core/browser/visitsegment_database.cc', 79 'history/core/browser/visitsegment_database.cc',
76 'history/core/browser/visitsegment_database.h', 80 'history/core/browser/visitsegment_database.h',
77 ], 81 ],
82 'conditions': [
83 ['OS=="android"', {
84 'sources': [
85 'history/core/browser/android/android_cache_database.cc',
86 'history/core/browser/android/android_cache_database.h',
87 'history/core/browser/android/android_history_types.cc',
88 'history/core/browser/android/android_history_types.h',
89 'history/core/browser/android/android_time.h',
90 'history/core/browser/android/android_urls_database.cc',
91 'history/core/browser/android/android_urls_database.h',
92 ],
93 }],
94 ],
78 }, 95 },
79 { 96 {
80 # GN version: //components/history/core/browser:proto 97 # GN version: //components/history/core/browser:proto
81 # Protobuf compiler / generator for the InMemoryURLIndex caching 98 # Protobuf compiler / generator for the InMemoryURLIndex caching
82 # protocol buffer. 99 # protocol buffer.
83 'target_name': 'history_core_browser_proto', 100 'target_name': 'history_core_browser_proto',
84 'type': 'static_library', 101 'type': 'static_library',
85 'sources': [ 102 'sources': [
86 'history/core/browser/in_memory_url_index_cache.proto', 103 'history/core/browser/in_memory_url_index_cache.proto',
87 ], 104 ],
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 '../testing/gtest.gyp:gtest', 137 '../testing/gtest.gyp:gtest',
121 '../url/url.gyp:url_lib', 138 '../url/url.gyp:url_lib',
122 'history_core_browser', 139 'history_core_browser',
123 ], 140 ],
124 'sources': [ 141 'sources': [
125 # Note: sources list duplicated in GN build. 142 # Note: sources list duplicated in GN build.
126 'history/core/test/history_client_fake_bookmarks.cc', 143 'history/core/test/history_client_fake_bookmarks.cc',
127 'history/core/test/history_client_fake_bookmarks.h', 144 'history/core/test/history_client_fake_bookmarks.h',
128 'history/core/test/history_unittest_base.cc', 145 'history/core/test/history_unittest_base.cc',
129 'history/core/test/history_unittest_base.h', 146 'history/core/test/history_unittest_base.h',
147 'history/core/test/test_history_database.cc',
148 'history/core/test/test_history_database.h',
130 ], 149 ],
131 }, 150 },
132 ], 151 ],
133 'conditions': [ 152 'conditions': [
134 ['OS!="ios"', { 153 ['OS!="ios"', {
135 'targets': [ 154 'targets': [
136 { 155 {
137 # GN version: //components/history/content/browser 156 # GN version: //components/history/content/browser
138 'target_name': 'history_content_browser', 157 'target_name': 'history_content_browser',
139 'type': 'static_library', 158 'type': 'static_library',
140 'include_dirs': [ 159 'include_dirs': [
141 '..', 160 '..',
142 ], 161 ],
143 'dependencies': [ 162 'dependencies': [
144 '../base/base.gyp:base', 163 '../base/base.gyp:base',
145 '../content/content.gyp:content_browser', 164 '../content/content.gyp:content_browser',
146 'history_core_browser', 165 'history_core_browser',
147 ], 166 ],
148 'sources': [ 167 'sources': [
149 'history/content/browser/download_constants_utils.cc', 168 'history/content/browser/download_constants_utils.cc',
150 'history/content/browser/download_constants_utils.h', 169 'history/content/browser/download_constants_utils.h',
151 'history/content/browser/history_context_helper.cc', 170 'history/content/browser/history_context_helper.cc',
152 'history/content/browser/history_context_helper.h', 171 'history/content/browser/history_context_helper.h',
172 'history/content/browser/history_database_helper.cc',
173 'history/content/browser/history_database_helper.h',
153 ], 174 ],
154 } 175 }
155 ], 176 ],
156 }], 177 }],
157 ['OS=="android"', { 178 ['OS=="android"', {
158 'targets': [ 179 'targets': [
159 { 180 {
160 # GN version: //components/history/code/android 181 # GN version: //components/history/code/android
161 'target_name': 'history_core_android', 182 'target_name': 'history_core_android',
162 'type': 'static_library', 183 'type': 'static_library',
163 'include_dirs': [ 184 'include_dirs': [
164 '..', 185 '..',
165 ], 186 ],
166 'dependencies': [ 187 'dependencies': [
167 '../base/base.gyp:base', 188 '../base/base.gyp:base',
168 '../sql/sql.gyp:sql', 189 '../sql/sql.gyp:sql',
169 'history_core_browser', 190 'history_core_browser',
170 ], 191 ],
171 'sources': [ 192 'sources': [
172 'history/core/android/android_cache_database.cc',
173 'history/core/android/android_cache_database.h',
174 'history/core/android/android_history_types.cc',
175 'history/core/android/android_history_types.h',
176 'history/core/android/android_time.h',
177 'history/core/android/android_urls_database.cc',
178 'history/core/android/android_urls_database.h',
179 'history/core/android/android_urls_sql_handler.cc', 193 'history/core/android/android_urls_sql_handler.cc',
180 'history/core/android/android_urls_sql_handler.h', 194 'history/core/android/android_urls_sql_handler.h',
181 'history/core/android/favicon_sql_handler.cc', 195 'history/core/android/favicon_sql_handler.cc',
182 'history/core/android/favicon_sql_handler.h', 196 'history/core/android/favicon_sql_handler.h',
183 'history/core/android/sql_handler.cc', 197 'history/core/android/sql_handler.cc',
184 'history/core/android/sql_handler.h', 198 'history/core/android/sql_handler.h',
185 'history/core/android/urls_sql_handler.cc', 199 'history/core/android/urls_sql_handler.cc',
186 'history/core/android/urls_sql_handler.h', 200 'history/core/android/urls_sql_handler.h',
187 'history/core/android/visit_sql_handler.cc', 201 'history/core/android/visit_sql_handler.cc',
188 'history/core/android/visit_sql_handler.h', 202 'history/core/android/visit_sql_handler.h',
189 ], 203 ],
190 }, 204 },
191 ], 205 ],
192 }], 206 }],
193 ], 207 ],
194 } 208 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698