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.
8 # GN version: //components/content_settings/core/browser
9 'target_name': 'content_settings_core_browser',
10 'type': 'static_library',
12 '../base/base.gyp:base',
13 '../base/base.gyp:base_prefs',
15 '../url/url.gyp:url_lib',
16 'content_settings_core_common',
18 'url_formatter/url_formatter.gyp:url_formatter',
20 'variables': { 'enable_wexit_time_destructors': 1, },
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',
66 ['enable_plugins == 1', {
68 'content_settings/core/browser/plugins_field_trial.cc',
69 'content_settings/core/browser/plugins_field_trial.h',
76 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
77 'msvs_disabled_warnings': [4267, ],
80 # GN version: //components/content_settings/core/common
81 'target_name': 'content_settings_core_common',
82 'type': 'static_library',
84 '../base/base.gyp:base',
86 '../url/url.gyp:url_lib',
88 'variables': { 'enable_wexit_time_destructors': 1, },
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',
106 # GN version: //components/content_settings/core/test:test_support
107 'target_name': 'content_settings_core_test_support',
108 'type': 'static_library',
110 'content_settings_core_browser',
111 'content_settings_core_common',
112 '../base/base.gyp:base',
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',
124 # GN version: //components/content_settings/content/common
125 'target_name': 'content_settings_content_common',
126 'type': 'static_library',
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',
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',