Complete WebStateObserverBridge and follow Cocoa naming style.
[chromium-blink-merge.git] / components / content_settings.gypi
blob89f2b1a01bbac2698359bd1389f8da47014d793f
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         'pref_registry',
18       ],
19       'variables': { 'enable_wexit_time_destructors': 1, },
20       'include_dirs': [
21         '..',
22       ],
23       'sources': [
24         # Note: sources list duplicated in GN build.
25         'content_settings/core/browser/content_settings_binary_value_map.cc',
26         'content_settings/core/browser/content_settings_binary_value_map.h',
27         'content_settings/core/browser/content_settings_client.h',
28         'content_settings/core/browser/content_settings_default_provider.cc',
29         'content_settings/core/browser/content_settings_default_provider.h',
30         'content_settings/core/browser/content_settings_details.cc',
31         'content_settings/core/browser/content_settings_details.h',
32         'content_settings/core/browser/content_settings_observable_provider.cc',
33         'content_settings/core/browser/content_settings_observable_provider.h',
34         'content_settings/core/browser/content_settings_observer.h',
35         'content_settings/core/browser/content_settings_origin_identifier_value_map.cc',
36         'content_settings/core/browser/content_settings_origin_identifier_value_map.h',
37         'content_settings/core/browser/content_settings_override_provider.cc',
38         'content_settings/core/browser/content_settings_override_provider.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/host_content_settings_map.cc',
53         'content_settings/core/browser/host_content_settings_map.h',
54         'content_settings/core/browser/local_shared_objects_counter.h',
55       ],
56       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
57       'msvs_disabled_warnings': [4267, ],
58     },
59     {
60       # GN version: //components/content_settings/core/common
61       'target_name': 'content_settings_core_common',
62       'type': 'static_library',
63       'dependencies': [
64         '../base/base.gyp:base',
65         '../net/net.gyp:net',
66         '../url/url.gyp:url_lib',
67       ],
68       'variables': { 'enable_wexit_time_destructors': 1, },
69       'include_dirs': [
70         '..',
71       ],
72       'sources': [
73         # Note: sources list duplicated in GN build.
74         'content_settings/core/common/content_settings.cc',
75         'content_settings/core/common/content_settings.h',
76         'content_settings/core/common/content_settings_pattern.cc',
77         'content_settings/core/common/content_settings_pattern.h',
78         'content_settings/core/common/content_settings_pattern_parser.cc',
79         'content_settings/core/common/content_settings_pattern_parser.h',
80         'content_settings/core/common/content_settings_types.h',
81         'content_settings/core/common/permission_request_id.cc',
82         'content_settings/core/common/permission_request_id.h',
83         'content_settings/core/common/pref_names.cc',
84         'content_settings/core/common/pref_names.h',
85       ],
86     },
87     {
88       # GN version: //components/content_settings/core/test:test_support
89       'target_name': 'content_settings_core_test_support',
90       'type': 'static_library',
91       'dependencies': [
92         'content_settings_core_browser',
93         'content_settings_core_common',
94         '../base/base.gyp:base',
95       ],
96       'include_dirs': [
97         '..',
98       ],
99       'sources': [
100         # Note: sources list duplicated in GN build.
101         'content_settings/core/test/content_settings_test_utils.cc',
102         'content_settings/core/test/content_settings_test_utils.h',
103       ],
104     },
105     {
106       # GN version: //components/content_settings/content/common
107       'target_name': 'content_settings_content_common',
108       'type': 'static_library',
109       'dependencies': [
110         'content_settings_core_common',
111         '../base/base.gyp:base',
112         '../content/content.gyp:content_common',
113         '../ipc/ipc.gyp:ipc',
114         '../url/url.gyp:url_lib',
115       ],
116       'include_dirs': [
117         '..',
118       ],
119       'sources': [
120         # Note: sources list duplicated in GN build.
121         'content_settings/content/common/content_settings_message_generator.cc',
122         'content_settings/content/common/content_settings_message_generator.h',
123         'content_settings/content/common/content_settings_messages.h',
124       ],
125     },
126   ],