[Extensions UI Mac] Make extensions overflow menu keyboard-accessible
[chromium-blink-merge.git] / components / content_settings.gypi
blobd0218fe0540a5ed4e394ed8c09823ba8735118f2
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       ],
20       'variables': { 'enable_wexit_time_destructors': 1, },
21       'include_dirs': [
22         '..',
23       ],
24       'sources': [
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_override_provider.cc',
39         'content_settings/core/browser/content_settings_override_provider.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_rule.cc',
48         'content_settings/core/browser/content_settings_rule.h',
49         'content_settings/core/browser/content_settings_usages_state.cc',
50         'content_settings/core/browser/content_settings_usages_state.h',
51         'content_settings/core/browser/content_settings_utils.cc',
52         'content_settings/core/browser/content_settings_utils.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       ],
59       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
60       'msvs_disabled_warnings': [4267, ],
61     },
62     {
63       # GN version: //components/content_settings/core/common
64       'target_name': 'content_settings_core_common',
65       'type': 'static_library',
66       'dependencies': [
67         '../base/base.gyp:base',
68         '../net/net.gyp:net',
69         '../url/url.gyp:url_lib',
70       ],
71       'variables': { 'enable_wexit_time_destructors': 1, },
72       'include_dirs': [
73         '..',
74       ],
75       'sources': [
76         # Note: sources list duplicated in GN build.
77         'content_settings/core/common/content_settings.cc',
78         'content_settings/core/common/content_settings.h',
79         'content_settings/core/common/content_settings_pattern.cc',
80         'content_settings/core/common/content_settings_pattern.h',
81         'content_settings/core/common/content_settings_pattern_parser.cc',
82         'content_settings/core/common/content_settings_pattern_parser.h',
83         'content_settings/core/common/content_settings_types.h',
84         'content_settings/core/common/permission_request_id.cc',
85         'content_settings/core/common/permission_request_id.h',
86         'content_settings/core/common/pref_names.cc',
87         'content_settings/core/common/pref_names.h',
88       ],
89     },
90     {
91       # GN version: //components/content_settings/core/test:test_support
92       'target_name': 'content_settings_core_test_support',
93       'type': 'static_library',
94       'dependencies': [
95         'content_settings_core_browser',
96         'content_settings_core_common',
97         '../base/base.gyp:base',
98       ],
99       'include_dirs': [
100         '..',
101       ],
102       'sources': [
103         # Note: sources list duplicated in GN build.
104         'content_settings/core/test/content_settings_test_utils.cc',
105         'content_settings/core/test/content_settings_test_utils.h',
106       ],
107     },
108     {
109       # GN version: //components/content_settings/content/common
110       'target_name': 'content_settings_content_common',
111       'type': 'static_library',
112       'dependencies': [
113         'content_settings_core_common',
114         '../base/base.gyp:base',
115         '../content/content.gyp:content_common',
116         '../ipc/ipc.gyp:ipc',
117         '../url/url.gyp:url_lib',
118       ],
119       'include_dirs': [
120         '..',
121       ],
122       'sources': [
123         # Note: sources list duplicated in GN build.
124         'content_settings/content/common/content_settings_message_generator.cc',
125         'content_settings/content/common/content_settings_message_generator.h',
126         'content_settings/content/common/content_settings_messages.h',
127       ],
128     },
129   ],