Retry: Win Video Capture: Create an STA |video_capture_thread_| from MediaStreamManager.
[chromium-blink-merge.git] / components / content_settings.gypi
blobded8a537ade57b6e22c3d209cd81db5e5a5e62ee
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         'content_settings_core_common',
14       ],
15       'variables': { 'enable_wexit_time_destructors': 1, },
16       'include_dirs': [
17         '..',
18       ],
19       'sources': [
20         # Note: sources list duplicated in GN build.
21         'content_settings/core/browser/content_settings_client.h',
22         'content_settings/core/browser/content_settings_default_provider.cc',
23         'content_settings/core/browser/content_settings_default_provider.h',
24         'content_settings/core/browser/content_settings_details.cc',
25         'content_settings/core/browser/content_settings_details.h',
26         'content_settings/core/browser/content_settings_observable_provider.cc',
27         'content_settings/core/browser/content_settings_observable_provider.h',
28         'content_settings/core/browser/content_settings_observer.h',
29         'content_settings/core/browser/content_settings_override_provider.cc',
30         'content_settings/core/browser/content_settings_override_provider.h',
31         'content_settings/core/browser/content_settings_policy_provider.cc',
32         'content_settings/core/browser/content_settings_policy_provider.h',
33         'content_settings/core/browser/content_settings_pref_provider.cc',
34         'content_settings/core/browser/content_settings_pref_provider.h',
35         'content_settings/core/browser/content_settings_provider.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_rule.cc',
39         'content_settings/core/browser/content_settings_rule.h',
40         'content_settings/core/browser/content_settings_utils.cc',
41         'content_settings/core/browser/content_settings_utils.h',
42         'content_settings/core/browser/host_content_settings_map.cc',
43         'content_settings/core/browser/host_content_settings_map.h',
44         'content_settings/core/browser/local_shared_objects_counter.h',
45       ],
46       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
47       'msvs_disabled_warnings': [4267, ],
48     },
49     {
50       # GN version: //components/content_settings/core/common
51       'target_name': 'content_settings_core_common',
52       'type': 'static_library',
53       'dependencies': [
54         '../base/base.gyp:base',
55         '../net/net.gyp:net',
56         '../url/url.gyp:url_lib',
57       ],
58       'variables': { 'enable_wexit_time_destructors': 1, },
59       'include_dirs': [
60         '..',
61       ],
62       'sources': [
63         # Note: sources list duplicated in GN build.
64         'content_settings/core/common/content_settings.cc',
65         'content_settings/core/common/content_settings.h',
66         'content_settings/core/common/content_settings_pattern.cc',
67         'content_settings/core/common/content_settings_pattern.h',
68         'content_settings/core/common/content_settings_pattern_parser.cc',
69         'content_settings/core/common/content_settings_pattern_parser.h',
70         'content_settings/core/common/content_settings_types.h',
71         'content_settings/core/common/permission_request_id.h',
72         'content_settings/core/common/permission_request_id.cc',
73         'content_settings/core/common/pref_names.h',
74         'content_settings/core/common/pref_names.cc',
75       ],
76     },
77   ],