Ignore title parameter for navigator.registerProtocolHandler
[chromium-blink-merge.git] / components / policy / policy_browser.gypi
blob8eb19601ff20d027fe64e30514370c7007dda9ce
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   'dependencies': [
7     '../base/base.gyp:base',
8     '../base/base.gyp:base_prefs',
9     '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
10     '../net/net.gyp:net',
11     '../ui/base/ui_base.gyp:ui_base',
12     '../url/url.gyp:url_lib',
13     'components_strings.gyp:components_strings',
14     'user_prefs',
15   ],
16   'defines': [
17     'POLICY_COMPONENT_IMPLEMENTATION',
18   ],
19   'include_dirs': [
20     '..',
21   ],
22   'sources': [
23     # Note that these sources are always included, even for builds that
24     # disable policy. Most source files should go in the conditional
25     # sources list below.
26     # url_blacklist_manager.h is used by managed mode.
27     'core/browser/url_blacklist_manager.cc',
28     'core/browser/url_blacklist_manager.h',
29   ],
30   'conditions': [
31     ['configuration_policy==1', {
32       'dependencies': [
33         'autofill_core_browser',
34         'autofill_core_common',
35         'cloud_policy_proto',
36         'policy',
37         'url_matcher',
38       ],
39       'sources': [
40         'core/browser/autofill_policy_handler.cc',
41         'core/browser/autofill_policy_handler.h',
42         'core/browser/browser_policy_connector.cc',
43         'core/browser/browser_policy_connector.h',
44         'core/browser/browser_policy_connector_ios.h',
45         'core/browser/browser_policy_connector_ios.mm',
46         'core/browser/cloud/message_util.cc',
47         'core/browser/cloud/message_util.h',
48         'core/browser/configuration_policy_handler.cc',
49         'core/browser/configuration_policy_handler.h',
50         'core/browser/configuration_policy_handler_list.cc',
51         'core/browser/configuration_policy_handler_list.h',
52         'core/browser/configuration_policy_pref_store.cc',
53         'core/browser/configuration_policy_pref_store.h',
54         'core/browser/policy_error_map.cc',
55         'core/browser/policy_error_map.h',
56         'core/browser/url_blacklist_policy_handler.cc',
57         'core/browser/url_blacklist_policy_handler.h',
58       ],
59     }],
60   ],