Added a Chrome flag to enable Android spellchecker.
[chromium-blink-merge.git] / components / content_settings.gypi
blob5fcbe000bac95f82ca0d1425d2d2ed31657f171c
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/content_settings/core/browser
9       'target_name': 'content_settings_core_browser',
10       'type': 'static_library',
11       'dependencies': [
12         '../base/base.gyp:base',
13         '../base/base.gyp:base_prefs',
14         '../net/net.gyp:net',
15         '../url/url.gyp:url_lib',
16         'content_settings_core_common',
17         'plugins_common',
18         'pref_registry',
19       ],
20       'variables': { 'enable_wexit_time_destructors': 1, },
21       'include_dirs': [
22         '..',
23       ],
24       'sources': [
25         # Note: sources list duplicated in GN build.
26         'content_settings/core/browser/content_settings_binary_value_map.cc',
27         'content_settings/core/browser/content_settings_binary_value_map.h',
28         'content_settings/core/browser/content_settings_client.h',
29         'content_settings/core/browser/content_settings_default_provider.cc',
30         'content_settings/core/browser/content_settings_default_provider.h',
31         'content_settings/core/browser/content_settings_details.cc',
32         'content_settings/core/browser/content_settings_details.h',
33         'content_settings/core/browser/content_settings_observable_provider.cc',
34         'content_settings/core/browser/content_settings_observable_provider.h',
35         'content_settings/core/browser/content_settings_observer.h',
36         'content_settings/core/browser/content_settings_origin_identifier_value_map.cc',
37         'content_settings/core/browser/content_settings_origin_identifier_value_map.h',
38         'content_settings/core/browser/content_settings_override_provider.cc',
39         'content_settings/core/browser/content_settings_override_provider.h',
40         'content_settings/core/browser/content_settings_policy_provider.cc',
41         'content_settings/core/browser/content_settings_policy_provider.h',
42         'content_settings/core/browser/content_settings_pref.cc',
43         'content_settings/core/browser/content_settings_pref.h',
44         'content_settings/core/browser/content_settings_pref_provider.cc',
45         'content_settings/core/browser/content_settings_pref_provider.h',
46         'content_settings/core/browser/content_settings_provider.h',
47         'content_settings/core/browser/content_settings_rule.cc',
48         'content_settings/core/browser/content_settings_rule.h',
49         'content_settings/core/browser/content_settings_usages_state.cc',
50         'content_settings/core/browser/content_settings_usages_state.h',
51         'content_settings/core/browser/content_settings_utils.cc',
52         'content_settings/core/browser/content_settings_utils.h',
53         'content_settings/core/browser/cookie_settings.cc',
54         'content_settings/core/browser/cookie_settings.h',
55         'content_settings/core/browser/host_content_settings_map.cc',
56         'content_settings/core/browser/host_content_settings_map.h',
57         'content_settings/core/browser/local_shared_objects_counter.h',
58         'content_settings/core/browser/plugins_field_trial.cc',
59         'content_settings/core/browser/plugins_field_trial.h',
60       ],
61       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
62       'msvs_disabled_warnings': [4267, ],
63     },
64     {
65       # GN version: //components/content_settings/core/common
66       'target_name': 'content_settings_core_common',
67       'type': 'static_library',
68       'dependencies': [
69         '../base/base.gyp:base',
70         '../net/net.gyp:net',
71         '../url/url.gyp:url_lib',
72       ],
73       'variables': { 'enable_wexit_time_destructors': 1, },
74       'include_dirs': [
75         '..',
76       ],
77       'sources': [
78         # Note: sources list duplicated in GN build.
79         'content_settings/core/common/content_settings.cc',
80         'content_settings/core/common/content_settings.h',
81         'content_settings/core/common/content_settings_pattern.cc',
82         'content_settings/core/common/content_settings_pattern.h',
83         'content_settings/core/common/content_settings_pattern_parser.cc',
84         'content_settings/core/common/content_settings_pattern_parser.h',
85         'content_settings/core/common/content_settings_types.h',
86         'content_settings/core/common/pref_names.cc',
87         'content_settings/core/common/pref_names.h',
88       ],
89     },
90     {
91       # GN version: //components/content_settings/core/test:test_support
92       'target_name': 'content_settings_core_test_support',
93       'type': 'static_library',
94       'dependencies': [
95         'content_settings_core_browser',
96         'content_settings_core_common',
97         '../base/base.gyp:base',
98       ],
99       'include_dirs': [
100         '..',
101       ],
102       'sources': [
103         # Note: sources list duplicated in GN build.
104         'content_settings/core/test/content_settings_test_utils.cc',
105         'content_settings/core/test/content_settings_test_utils.h',
106       ],
107     },
108     {
109       # GN version: //components/content_settings/content/common
110       'target_name': 'content_settings_content_common',
111       'type': 'static_library',
112       'dependencies': [
113         'content_settings_core_common',
114         '../base/base.gyp:base',
115         '../content/content.gyp:content_common',
116         '../ipc/ipc.gyp:ipc',
117         '../url/url.gyp:url_lib',
118       ],
119       'include_dirs': [
120         '..',
121       ],
122       'sources': [
123         # Note: sources list duplicated in GN build.
124         'content_settings/content/common/content_settings_message_generator.cc',
125         'content_settings/content/common/content_settings_message_generator.h',
126         'content_settings/content/common/content_settings_messages.h',
127       ],
128     },
129   ],