blob: c2431f510728f7519efb1a18b0cf5dbd5c7d18d9 [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',
sdefresnebc766ef2014-09-25 09:28:1318 '../ui/base/ui_base.gyp:ui_base',
[email protected]9f95e2d2014-08-12 00:59:4419 '../ui/gfx/gfx.gyp:gfx',
[email protected]ad34610c2014-06-04 14:43:5220 '../url/url.gyp:url_lib',
[email protected]9f95e2d2014-08-12 00:59:4421 'favicon_base',
[email protected]69843a92014-05-30 15:43:1722 'keyed_service_core',
[email protected]73b2d1e72014-06-25 23:45:3623 'query_parser',
[email protected]69843a92014-05-30 15:43:1724 ],
25 'sources': [
[email protected]273ae5ab2014-07-09 21:10:2526 # Note: sources list duplicated in GN build.
[email protected]ad34610c2014-06-04 14:43:5227 'history/core/browser/history_client.cc',
[email protected]73b2d1e72014-06-25 23:45:3628 'history/core/browser/history_client.h',
[email protected]9f95e2d2014-08-12 00:59:4429 'history/core/browser/history_types.cc',
30 'history/core/browser/history_types.h',
[email protected]bac78f92014-07-09 06:08:5031 'history/core/browser/history_match.cc',
32 'history/core/browser/history_match.h',
[email protected]e3ce70ac2014-06-26 18:34:5633 'history/core/browser/in_memory_database.cc',
34 'history/core/browser/in_memory_database.h',
[email protected]078d0f72014-06-23 23:54:2135 'history/core/browser/keyword_id.h',
[email protected]73b2d1e72014-06-25 23:45:3636 'history/core/browser/keyword_search_term.cc',
37 'history/core/browser/keyword_search_term.h',
[email protected]9f95e2d2014-08-12 00:59:4438 'history/core/browser/page_usage_data.cc',
39 'history/core/browser/page_usage_data.h',
naiem.shaike091cc32014-09-18 02:20:5240 'history/core/browser/top_sites_observer.h',
[email protected]73b2d1e72014-06-25 23:45:3641 'history/core/browser/url_database.cc',
42 'history/core/browser/url_database.h',
43 'history/core/browser/url_row.cc',
44 'history/core/browser/url_row.h',
[email protected]ad34610c2014-06-04 14:43:5245 ],
46 },
47 {
[email protected]273ae5ab2014-07-09 21:10:2548 # GN version: //components/history/core/common
[email protected]36db2ae2014-06-11 17:49:2749 'target_name': 'history_core_common',
50 'type': 'static_library',
51 'include_dirs': [
52 '..',
53 ],
54 'dependencies': [
55 '../base/base.gyp:base',
56 ],
57 'sources': [
[email protected]273ae5ab2014-07-09 21:10:2558 # Note: sources list duplicated in GN build.
[email protected]36db2ae2014-06-11 17:49:2759 'history/core/common/thumbnail_score.cc',
60 'history/core/common/thumbnail_score.h',
61 ],
62 },
63 {
[email protected]273ae5ab2014-07-09 21:10:2564 # GN version: //components/history/core/test
[email protected]ad34610c2014-06-04 14:43:5265 'target_name': 'history_core_test_support',
66 'type': 'static_library',
67 'include_dirs': [
68 '..',
69 ],
70 'dependencies': [
71 'history_core_browser',
72 '../base/base.gyp:base',
73 '../url/url.gyp:url_lib',
74 ],
75 'sources': [
[email protected]273ae5ab2014-07-09 21:10:2576 # Note: sources list duplicated in GN build.
[email protected]ad34610c2014-06-04 14:43:5277 'history/core/test/history_client_fake_bookmarks.cc',
78 'history/core/test/history_client_fake_bookmarks.h',
[email protected]69843a92014-05-30 15:43:1779 ],
80 },
81 ],
sdefresnebc766ef2014-09-25 09:28:1382 'conditions': [
83 ['OS=="android"', {
84 'targets': [
85 {
86 # GN version: //components/history/code/android
87 'target_name': 'history_core_android',
88 'type': 'static_library',
89 'include_dirs': [
90 '..',
91 ],
92 'dependencies': [
93 '../base/base.gyp:base',
94 '../sql/sql.gyp:sql',
95 'history_core_browser',
96 ],
97 'sources': [
98 'history/core/android/android_history_types.cc',
99 'history/core/android/android_history_types.h',
100 ],
101 },
102 ],
103 }],
104 ],
[email protected]69843a92014-05-30 15:43:17105}