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',
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_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',
63 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
64 'msvs_disabled_warnings': [4267, ],
67 # GN version: //components/content_settings/core/common
68 'target_name': 'content_settings_core_common',
69 'type': 'static_library',
71 '../base/base.gyp:base',
73 '../url/url.gyp:url_lib',
75 'variables': { 'enable_wexit_time_destructors': 1, },
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',
93 # GN version: //components/content_settings/core/test:test_support
94 'target_name': 'content_settings_core_test_support',
95 'type': 'static_library',
97 'content_settings_core_browser',
98 'content_settings_core_common',
99 '../base/base.gyp:base',
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',
111 # GN version: //components/content_settings/content/common
112 'target_name': 'content_settings_content_common',
113 'type': 'static_library',
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',
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',