Remove obsolete entries from .gitignore.
[chromium-blink-merge.git] / components / content_settings.gypi
blobf6ac047c4ff7c814f330051f84b3288a5ba1fe3c
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         'pref_registry',
18         'url_formatter/url_formatter.gyp:url_formatter',
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_info.cc',
34         'content_settings/core/browser/content_settings_info.h',
35         'content_settings/core/browser/content_settings_observable_provider.cc',
36         'content_settings/core/browser/content_settings_observable_provider.h',
37         'content_settings/core/browser/content_settings_observer.h',
38         'content_settings/core/browser/content_settings_origin_identifier_value_map.cc',
39         'content_settings/core/browser/content_settings_origin_identifier_value_map.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_registry.cc',
48         'content_settings/core/browser/content_settings_registry.h',
49         'content_settings/core/browser/content_settings_rule.cc',
50         'content_settings/core/browser/content_settings_rule.h',
51         'content_settings/core/browser/content_settings_usages_state.cc',
52         'content_settings/core/browser/content_settings_usages_state.h',
53         'content_settings/core/browser/content_settings_utils.cc',
54         'content_settings/core/browser/content_settings_utils.h',
55         'content_settings/core/browser/cookie_settings.cc',
56         'content_settings/core/browser/cookie_settings.h',
57         'content_settings/core/browser/host_content_settings_map.cc',
58         'content_settings/core/browser/host_content_settings_map.h',
59         'content_settings/core/browser/local_shared_objects_counter.h',
60         'content_settings/core/browser/website_settings_info.cc',
61         'content_settings/core/browser/website_settings_info.h',
62         'content_settings/core/browser/website_settings_registry.cc',
63         'content_settings/core/browser/website_settings_registry.h',
64       ],
65       'conditions': [
66         ['enable_plugins == 1', {
67           'sources': [
68             'content_settings/core/browser/plugins_field_trial.cc',
69             'content_settings/core/browser/plugins_field_trial.h',
70           ],
71           'dependencies': [
72             'plugins_common',
73           ],
74         }],
75       ],
76       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
77       'msvs_disabled_warnings': [4267, ],
78     },
79     {
80       # GN version: //components/content_settings/core/common
81       'target_name': 'content_settings_core_common',
82       'type': 'static_library',
83       'dependencies': [
84         '../base/base.gyp:base',
85         '../net/net.gyp:net',
86         '../url/url.gyp:url_lib',
87       ],
88       'variables': { 'enable_wexit_time_destructors': 1, },
89       'include_dirs': [
90         '..',
91       ],
92       'sources': [
93         # Note: sources list duplicated in GN build.
94         'content_settings/core/common/content_settings.cc',
95         'content_settings/core/common/content_settings.h',
96         'content_settings/core/common/content_settings_pattern.cc',
97         'content_settings/core/common/content_settings_pattern.h',
98         'content_settings/core/common/content_settings_pattern_parser.cc',
99         'content_settings/core/common/content_settings_pattern_parser.h',
100         'content_settings/core/common/content_settings_types.h',
101         'content_settings/core/common/pref_names.cc',
102         'content_settings/core/common/pref_names.h',
103       ],
104     },
105     {
106       # GN version: //components/content_settings/core/test:test_support
107       'target_name': 'content_settings_core_test_support',
108       'type': 'static_library',
109       'dependencies': [
110         'content_settings_core_browser',
111         'content_settings_core_common',
112         '../base/base.gyp:base',
113       ],
114       'include_dirs': [
115         '..',
116       ],
117       'sources': [
118         # Note: sources list duplicated in GN build.
119         'content_settings/core/test/content_settings_test_utils.cc',
120         'content_settings/core/test/content_settings_test_utils.h',
121       ],
122     },
123     {
124       # GN version: //components/content_settings/content/common
125       'target_name': 'content_settings_content_common',
126       'type': 'static_library',
127       'dependencies': [
128         'content_settings_core_common',
129         '../base/base.gyp:base',
130         '../content/content.gyp:content_common',
131         '../ipc/ipc.gyp:ipc',
132         '../url/url.gyp:url_lib',
133       ],
134       'include_dirs': [
135         '..',
136       ],
137       'sources': [
138         # Note: sources list duplicated in GN build.
139         'content_settings/content/common/content_settings_message_generator.cc',
140         'content_settings/content/common/content_settings_message_generator.h',
141         'content_settings/content/common/content_settings_messages.h',
142       ],
143     },
144   ],