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