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: Fix android compilation 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
« no previous file with comments | « components/components_tests.gyp ('k') | components/history/content/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'history/core/browser/android/android_urls_sql_handler.cc',
93 'history/core/browser/android/android_urls_sql_handler.h',
94 'history/core/browser/android/favicon_sql_handler.cc',
95 'history/core/browser/android/favicon_sql_handler.h',
96 'history/core/browser/android/sql_handler.cc',
97 'history/core/browser/android/sql_handler.h',
98 'history/core/browser/android/urls_sql_handler.cc',
99 'history/core/browser/android/urls_sql_handler.h',
100 'history/core/browser/android/visit_sql_handler.cc',
101 'history/core/browser/android/visit_sql_handler.h',
102 ],
103 }],
104 ],
78 }, 105 },
79 { 106 {
80 # GN version: //components/history/core/browser:proto 107 # GN version: //components/history/core/browser:proto
81 # Protobuf compiler / generator for the InMemoryURLIndex caching 108 # Protobuf compiler / generator for the InMemoryURLIndex caching
82 # protocol buffer. 109 # protocol buffer.
83 'target_name': 'history_core_browser_proto', 110 'target_name': 'history_core_browser_proto',
84 'type': 'static_library', 111 'type': 'static_library',
85 'sources': [ 112 'sources': [
86 'history/core/browser/in_memory_url_index_cache.proto', 113 'history/core/browser/in_memory_url_index_cache.proto',
87 ], 114 ],
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 '../testing/gtest.gyp:gtest', 147 '../testing/gtest.gyp:gtest',
121 '../url/url.gyp:url_lib', 148 '../url/url.gyp:url_lib',
122 'history_core_browser', 149 'history_core_browser',
123 ], 150 ],
124 'sources': [ 151 'sources': [
125 # Note: sources list duplicated in GN build. 152 # Note: sources list duplicated in GN build.
126 'history/core/test/history_client_fake_bookmarks.cc', 153 'history/core/test/history_client_fake_bookmarks.cc',
127 'history/core/test/history_client_fake_bookmarks.h', 154 'history/core/test/history_client_fake_bookmarks.h',
128 'history/core/test/history_unittest_base.cc', 155 'history/core/test/history_unittest_base.cc',
129 'history/core/test/history_unittest_base.h', 156 'history/core/test/history_unittest_base.h',
157 'history/core/test/test_history_database.cc',
158 'history/core/test/test_history_database.h',
130 ], 159 ],
131 }, 160 },
132 ], 161 ],
133 'conditions': [ 162 'conditions': [
134 ['OS!="ios"', { 163 ['OS!="ios"', {
135 'targets': [ 164 'targets': [
136 { 165 {
137 # GN version: //components/history/content/browser 166 # GN version: //components/history/content/browser
138 'target_name': 'history_content_browser', 167 'target_name': 'history_content_browser',
139 'type': 'static_library', 168 'type': 'static_library',
140 'include_dirs': [ 169 'include_dirs': [
141 '..', 170 '..',
142 ], 171 ],
143 'dependencies': [ 172 'dependencies': [
144 '../base/base.gyp:base', 173 '../base/base.gyp:base',
145 '../content/content.gyp:content_browser', 174 '../content/content.gyp:content_browser',
146 'history_core_browser', 175 'history_core_browser',
147 ], 176 ],
148 'sources': [ 177 'sources': [
149 'history/content/browser/download_constants_utils.cc', 178 'history/content/browser/download_constants_utils.cc',
150 'history/content/browser/download_constants_utils.h', 179 'history/content/browser/download_constants_utils.h',
151 'history/content/browser/history_context_helper.cc', 180 'history/content/browser/history_context_helper.cc',
152 'history/content/browser/history_context_helper.h', 181 'history/content/browser/history_context_helper.h',
182 'history/content/browser/history_database_helper.cc',
183 'history/content/browser/history_database_helper.h',
153 ], 184 ],
154 } 185 }
155 ], 186 ],
156 }], 187 }],
157 ['OS=="android"', {
158 'targets': [
159 {
160 # GN version: //components/history/code/android
161 'target_name': 'history_core_android',
162 'type': 'static_library',
163 'include_dirs': [
164 '..',
165 ],
166 'dependencies': [
167 '../base/base.gyp:base',
168 '../sql/sql.gyp:sql',
169 'history_core_browser',
170 ],
171 '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',
180 'history/core/android/android_urls_sql_handler.h',
181 'history/core/android/favicon_sql_handler.cc',
182 'history/core/android/favicon_sql_handler.h',
183 'history/core/android/sql_handler.cc',
184 'history/core/android/sql_handler.h',
185 'history/core/android/urls_sql_handler.cc',
186 'history/core/android/urls_sql_handler.h',
187 'history/core/android/visit_sql_handler.cc',
188 'history/core/android/visit_sql_handler.h',
189 ],
190 },
191 ],
192 }],
193 ], 188 ],
194 } 189 }
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | components/history/content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698