Fix a couple of compile errors in the foreground module.
[chromium-blink-merge.git] / components / history.gypi
blob2fd1cbd874c05772c2fefa295ae6e629e7c19ca3
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
3 # found in the LICENSE file.
6   'targets': [
7     {
8       # GN version: //components/history/core/browser
9       'target_name': 'history_core_browser',
10       'type': 'static_library',
11       'include_dirs': [
12         '..',
13       ],
14       'dependencies': [
15         '../base/base.gyp:base',
16         '../net/net.gyp:net',
17         '../sql/sql.gyp:sql',
18         '../ui/base/ui_base.gyp:ui_base',
19         '../ui/gfx/gfx.gyp:gfx',
20         '../url/url.gyp:url_lib',
21         'favicon_base',
22         'keyed_service_core',
23         'query_parser',
24       ],
25       'sources': [
26         # Note: sources list duplicated in GN build.
27         'history/core/browser/history_backend_notifier.h',
28         'history/core/browser/history_backend_observer.h',
29         'history/core/browser/history_client.cc',
30         'history/core/browser/history_client.h',
31         'history/core/browser/history_constants.cc',
32         'history/core/browser/history_constants.h',
33         'history/core/browser/history_match.cc',
34         'history/core/browser/history_match.h',
35         'history/core/browser/history_service_observer.h',
36         'history/core/browser/history_types.cc',
37         'history/core/browser/history_types.h',
38         'history/core/browser/in_memory_database.cc',
39         'history/core/browser/in_memory_database.h',
40         'history/core/browser/keyword_id.h',
41         'history/core/browser/keyword_search_term.cc',
42         'history/core/browser/keyword_search_term.h',
43         'history/core/browser/page_usage_data.cc',
44         'history/core/browser/page_usage_data.h',
45         'history/core/browser/top_sites_observer.h',
46         'history/core/browser/url_database.cc',
47         'history/core/browser/url_database.h',
48         'history/core/browser/url_row.cc',
49         'history/core/browser/url_row.h',
50       ],
51     },
52     {
53       # GN version: //components/history/core/common
54       'target_name': 'history_core_common',
55       'type': 'static_library',
56       'include_dirs': [
57         '..',
58       ],
59       'dependencies': [
60         '../base/base.gyp:base',
61       ],
62       'sources': [
63         # Note: sources list duplicated in GN build.
64         'history/core/common/thumbnail_score.cc',
65         'history/core/common/thumbnail_score.h',
66       ],
67     },
68     {
69       # GN version: //components/history/core/test
70       'target_name': 'history_core_test_support',
71       'type': 'static_library',
72       'include_dirs': [
73         '..',
74       ],
75       'dependencies': [
76         'history_core_browser',
77         '../base/base.gyp:base',
78         '../url/url.gyp:url_lib',
79       ],
80       'sources': [
81         # Note: sources list duplicated in GN build.
82         'history/core/test/history_client_fake_bookmarks.cc',
83         'history/core/test/history_client_fake_bookmarks.h',
84       ],
85     },
86   ],
87   'conditions': [
88     ['OS=="android"', {
89       'targets': [
90         {
91           # GN version: //components/history/code/android
92           'target_name': 'history_core_android',
93           'type': 'static_library',
94           'include_dirs': [
95             '..',
96           ],
97           'dependencies': [
98             '../base/base.gyp:base',
99             '../sql/sql.gyp:sql',
100             'history_core_browser',
101           ],
102           'sources': [
103             'history/core/android/android_history_types.cc',
104             'history/core/android/android_history_types.h',
105           ],
106         },
107       ],
108     }],
109   ],