Roll src/third_party/skia ae6d622:498bc5f
[chromium-blink-merge.git] / components / history.gypi
blob47bd0868a6e9fb8e8ee704e8521027f9ff53789e
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_observer.h',
28         'history/core/browser/history_client.cc',
29         'history/core/browser/history_client.h',
30         'history/core/browser/history_match.cc',
31         'history/core/browser/history_match.h',
32         'history/core/browser/history_service_observer.h',
33         'history/core/browser/history_types.cc',
34         'history/core/browser/history_types.h',
35         'history/core/browser/in_memory_database.cc',
36         'history/core/browser/in_memory_database.h',
37         'history/core/browser/keyword_id.h',
38         'history/core/browser/keyword_search_term.cc',
39         'history/core/browser/keyword_search_term.h',
40         'history/core/browser/page_usage_data.cc',
41         'history/core/browser/page_usage_data.h',
42         'history/core/browser/top_sites_observer.h',
43         'history/core/browser/url_database.cc',
44         'history/core/browser/url_database.h',
45         'history/core/browser/url_row.cc',
46         'history/core/browser/url_row.h',
47       ],
48     },
49     {
50       # GN version: //components/history/core/common
51       'target_name': 'history_core_common',
52       'type': 'static_library',
53       'include_dirs': [
54         '..',
55       ],
56       'dependencies': [
57         '../base/base.gyp:base',
58       ],
59       'sources': [
60         # Note: sources list duplicated in GN build.
61         'history/core/common/thumbnail_score.cc',
62         'history/core/common/thumbnail_score.h',
63       ],
64     },
65     {
66       # GN version: //components/history/core/test
67       'target_name': 'history_core_test_support',
68       'type': 'static_library',
69       'include_dirs': [
70         '..',
71       ],
72       'dependencies': [
73         'history_core_browser',
74         '../base/base.gyp:base',
75         '../url/url.gyp:url_lib',
76       ],
77       'sources': [
78         # Note: sources list duplicated in GN build.
79         'history/core/test/history_client_fake_bookmarks.cc',
80         'history/core/test/history_client_fake_bookmarks.h',
81       ],
82     },
83   ],
84   'conditions': [
85     ['OS=="android"', {
86       'targets': [
87         {
88           # GN version: //components/history/code/android
89           'target_name': 'history_core_android',
90           'type': 'static_library',
91           'include_dirs': [
92             '..',
93           ],
94           'dependencies': [
95             '../base/base.gyp:base',
96             '../sql/sql.gyp:sql',
97             'history_core_browser',
98           ],
99           'sources': [
100             'history/core/android/android_history_types.cc',
101             'history/core/android/android_history_types.h',
102           ],
103         },
104       ],
105     }],
106   ],