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