blob: f91843d598758489f091bfd69b2b75007ebb4dce [file] [log] [blame]
[email protected]69843a92014-05-30 15:43:171# Copyright 2014 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 {
[email protected]273ae5ab2014-07-09 21:10:258 # GN version: //components/history/core/browser
[email protected]69843a92014-05-30 15:43:179 'target_name': 'history_core_browser',
[email protected]ad34610c2014-06-04 14:43:5210 'type': 'static_library',
[email protected]69843a92014-05-30 15:43:1711 'include_dirs': [
12 '..',
13 ],
14 'dependencies': [
15 '../base/base.gyp:base',
[email protected]73b2d1e72014-06-25 23:45:3616 '../net/net.gyp:net',
[email protected]e3ce70ac2014-06-26 18:34:5617 '../sql/sql.gyp:sql',
sdefresneeb278882014-12-30 19:23:4918 '../third_party/sqlite/sqlite.gyp:sqlite',
sdefresnebc766ef2014-09-25 09:28:1319 '../ui/base/ui_base.gyp:ui_base',
[email protected]9f95e2d2014-08-12 00:59:4420 '../ui/gfx/gfx.gyp:gfx',
[email protected]ad34610c2014-06-04 14:43:5221 '../url/url.gyp:url_lib',
[email protected]9f95e2d2014-08-12 00:59:4422 'favicon_base',
sdefresneeb278882014-12-30 19:23:4923 'history_core_browser_proto',
[email protected]69843a92014-05-30 15:43:1724 'keyed_service_core',
[email protected]73b2d1e72014-06-25 23:45:3625 'query_parser',
[email protected]69843a92014-05-30 15:43:1726 ],
27 'sources': [
[email protected]273ae5ab2014-07-09 21:10:2528 # Note: sources list duplicated in GN build.
sdefresne597713e2014-11-12 11:02:3629 'history/core/browser/history_backend_notifier.h',
sdefresnec8eb77e2014-10-15 18:15:4430 'history/core/browser/history_backend_observer.h',
[email protected]ad34610c2014-06-04 14:43:5231 'history/core/browser/history_client.cc',
[email protected]73b2d1e72014-06-25 23:45:3632 'history/core/browser/history_client.h',
naiem.shaikb9f5bffa2014-11-30 09:02:3133 'history/core/browser/history_constants.cc',
34 'history/core/browser/history_constants.h',
sdefresneabac1922014-12-29 15:54:0635 'history/core/browser/history_db_task.h',
[email protected]bac78f92014-07-09 06:08:5036 'history/core/browser/history_match.cc',
37 'history/core/browser/history_match.h',
sdefresne1ef49e02014-10-14 09:20:5738 'history/core/browser/history_service_observer.h',
39 'history/core/browser/history_types.cc',
40 'history/core/browser/history_types.h',
[email protected]e3ce70ac2014-06-26 18:34:5641 'history/core/browser/in_memory_database.cc',
42 'history/core/browser/in_memory_database.h',
sdefresneeb278882014-12-30 19:23:4943 'history/core/browser/in_memory_url_index_types.cc',
44 'history/core/browser/in_memory_url_index_types.h',
[email protected]078d0f72014-06-23 23:54:2145 'history/core/browser/keyword_id.h',
[email protected]73b2d1e72014-06-25 23:45:3646 'history/core/browser/keyword_search_term.cc',
47 'history/core/browser/keyword_search_term.h',
[email protected]9f95e2d2014-08-12 00:59:4448 'history/core/browser/page_usage_data.cc',
49 'history/core/browser/page_usage_data.h',
sdefresneeb278882014-12-30 19:23:4950 'history/core/browser/thumbnail_database.cc',
51 'history/core/browser/thumbnail_database.h',
52 'history/core/browser/top_sites_cache.cc',
53 'history/core/browser/top_sites_cache.h',
naiem.shaike091cc32014-09-18 02:20:5254 'history/core/browser/top_sites_observer.h',
[email protected]73b2d1e72014-06-25 23:45:3655 'history/core/browser/url_database.cc',
56 'history/core/browser/url_database.h',
57 'history/core/browser/url_row.cc',
58 'history/core/browser/url_row.h',
sdefresneeb278882014-12-30 19:23:4959 'history/core/browser/url_utils.cc',
60 'history/core/browser/url_utils.h',
61 'history/core/browser/visit_database.cc',
62 'history/core/browser/visit_database.h',
63 'history/core/browser/visit_filter.cc',
64 'history/core/browser/visit_filter.h',
65 'history/core/browser/visit_tracker.cc',
66 'history/core/browser/visit_tracker.h',
67 'history/core/browser/visitsegment_database.cc',
68 'history/core/browser/visitsegment_database.h',
[email protected]ad34610c2014-06-04 14:43:5269 ],
70 },
71 {
sdefresneeb278882014-12-30 19:23:4972 # GN version: //components/history/core/browser:proto
73 # Protobuf compiler / generator for the InMemoryURLIndex caching
74 # protocol buffer.
75 'target_name': 'history_core_browser_proto',
76 'type': 'static_library',
77 'sources': [
78 'history/core/browser/in_memory_url_index_cache.proto',
79 ],
80 'variables': {
81 'proto_in_dir': 'history/core/browser',
82 'proto_out_dir': 'components/history/core/browser',
83 },
84 'includes': [ '../build/protoc.gypi' ]
85 },
86 {
[email protected]273ae5ab2014-07-09 21:10:2587 # GN version: //components/history/core/common
[email protected]36db2ae2014-06-11 17:49:2788 'target_name': 'history_core_common',
89 'type': 'static_library',
90 'include_dirs': [
91 '..',
92 ],
93 'dependencies': [
94 '../base/base.gyp:base',
95 ],
96 'sources': [
[email protected]273ae5ab2014-07-09 21:10:2597 # Note: sources list duplicated in GN build.
[email protected]36db2ae2014-06-11 17:49:2798 'history/core/common/thumbnail_score.cc',
99 'history/core/common/thumbnail_score.h',
100 ],
101 },
102 {
[email protected]273ae5ab2014-07-09 21:10:25103 # GN version: //components/history/core/test
[email protected]ad34610c2014-06-04 14:43:52104 'target_name': 'history_core_test_support',
105 'type': 'static_library',
106 'include_dirs': [
107 '..',
108 ],
109 'dependencies': [
110 'history_core_browser',
111 '../base/base.gyp:base',
112 '../url/url.gyp:url_lib',
113 ],
114 'sources': [
[email protected]273ae5ab2014-07-09 21:10:25115 # Note: sources list duplicated in GN build.
[email protected]ad34610c2014-06-04 14:43:52116 'history/core/test/history_client_fake_bookmarks.cc',
117 'history/core/test/history_client_fake_bookmarks.h',
[email protected]69843a92014-05-30 15:43:17118 ],
119 },
120 ],
sdefresnebc766ef2014-09-25 09:28:13121 'conditions': [
122 ['OS=="android"', {
123 'targets': [
124 {
125 # GN version: //components/history/code/android
126 'target_name': 'history_core_android',
127 'type': 'static_library',
128 'include_dirs': [
129 '..',
130 ],
131 'dependencies': [
132 '../base/base.gyp:base',
133 '../sql/sql.gyp:sql',
134 'history_core_browser',
135 ],
136 'sources': [
137 'history/core/android/android_history_types.cc',
138 'history/core/android/android_history_types.h',
139 ],
140 },
141 ],
142 }],
143 ],
[email protected]69843a92014-05-30 15:43:17144}