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',
19 'variables': { 'enable_wexit_time_destructors': 1, },
24 # Note: sources list duplicated in GN build.
25 'content_settings/core/browser/content_settings_client.h',
26 'content_settings/core/browser/content_settings_default_provider.cc',
27 'content_settings/core/browser/content_settings_default_provider.h',
28 'content_settings/core/browser/content_settings_details.cc',
29 'content_settings/core/browser/content_settings_details.h',
30 'content_settings/core/browser/content_settings_observable_provider.cc',
31 'content_settings/core/browser/content_settings_observable_provider.h',
32 'content_settings/core/browser/content_settings_observer.h',
33 'content_settings/core/browser/content_settings_origin_identifier_value_map.cc',
34 'content_settings/core/browser/content_settings_origin_identifier_value_map.h',
35 'content_settings/core/browser/content_settings_override_provider.cc',
36 'content_settings/core/browser/content_settings_override_provider.h',
37 'content_settings/core/browser/content_settings_policy_provider.cc',
38 'content_settings/core/browser/content_settings_policy_provider.h',
39 'content_settings/core/browser/content_settings_pref_provider.cc',
40 'content_settings/core/browser/content_settings_pref_provider.h',
41 'content_settings/core/browser/content_settings_provider.h',
42 'content_settings/core/browser/content_settings_rule.cc',
43 'content_settings/core/browser/content_settings_rule.h',
44 'content_settings/core/browser/content_settings_usages_state.cc',
45 'content_settings/core/browser/content_settings_usages_state.h',
46 'content_settings/core/browser/content_settings_utils.cc',
47 'content_settings/core/browser/content_settings_utils.h',
48 'content_settings/core/browser/host_content_settings_map.cc',
49 'content_settings/core/browser/host_content_settings_map.h',
50 'content_settings/core/browser/local_shared_objects_counter.h',
52 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
53 'msvs_disabled_warnings': [4267, ],
56 # GN version: //components/content_settings/core/common
57 'target_name': 'content_settings_core_common',
58 'type': 'static_library',
60 '../base/base.gyp:base',
62 '../url/url.gyp:url_lib',
64 'variables': { 'enable_wexit_time_destructors': 1, },
69 # Note: sources list duplicated in GN build.
70 'content_settings/core/common/content_settings.cc',
71 'content_settings/core/common/content_settings.h',
72 'content_settings/core/common/content_settings_pattern.cc',
73 'content_settings/core/common/content_settings_pattern.h',
74 'content_settings/core/common/content_settings_pattern_parser.cc',
75 'content_settings/core/common/content_settings_pattern_parser.h',
76 'content_settings/core/common/content_settings_types.h',
77 'content_settings/core/common/permission_request_id.cc',
78 'content_settings/core/common/permission_request_id.h',
79 'content_settings/core/common/pref_names.cc',
80 'content_settings/core/common/pref_names.h',
84 # GN version: //components/content_settings/core/test:test_support
85 'target_name': 'content_settings_core_test_support',
86 'type': 'static_library',
88 'content_settings_core_browser',
89 'content_settings_core_common',
90 '../base/base.gyp:base',
96 # Note: sources list duplicated in GN build.
97 'content_settings/core/test/content_settings_test_utils.cc',
98 'content_settings/core/test/content_settings_test_utils.h',