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