| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 { | |
| 6 'dependencies': [ | |
| 7 '../base/base.gyp:base', | |
| 8 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann
otations', | |
| 9 '../net/net.gyp:net', | |
| 10 '../ui/base/ui_base.gyp:ui_base', | |
| 11 '../url/url.gyp:url_lib', | |
| 12 'bookmarks_browser', | |
| 13 'bookmarks_managed', | |
| 14 'components_strings.gyp:components_strings', | |
| 15 'keyed_service_core', | |
| 16 'pref_registry', | |
| 17 'prefs/prefs.gyp:prefs', | |
| 18 'url_matcher', | |
| 19 ], | |
| 20 'defines': [ | |
| 21 'POLICY_COMPONENT_IMPLEMENTATION', | |
| 22 ], | |
| 23 'include_dirs': [ | |
| 24 '..', | |
| 25 ], | |
| 26 'sources': [ | |
| 27 # Note that these sources are always included, even for builds that | |
| 28 # disable policy. Most source files should go in the conditional | |
| 29 # sources list below. | |
| 30 # url_blacklist_manager.h is used by managed mode. | |
| 31 'core/browser/url_blacklist_manager.cc', | |
| 32 'core/browser/url_blacklist_manager.h', | |
| 33 ], | |
| 34 'conditions': [ | |
| 35 # GN version: //components/policy/core/browser | |
| 36 ['configuration_policy==1', { | |
| 37 'dependencies': [ | |
| 38 '../third_party/icu/icu.gyp:icui18n', | |
| 39 '../third_party/icu/icu.gyp:icuuc', | |
| 40 'autofill_core_common', | |
| 41 'cloud_policy_proto', | |
| 42 'policy', | |
| 43 'proxy_config', | |
| 44 ], | |
| 45 'sources': [ | |
| 46 'core/browser/autofill_policy_handler.cc', | |
| 47 'core/browser/autofill_policy_handler.h', | |
| 48 'core/browser/browser_policy_connector.cc', | |
| 49 'core/browser/browser_policy_connector.h', | |
| 50 'core/browser/browser_policy_connector_base.cc', | |
| 51 'core/browser/browser_policy_connector_base.h', | |
| 52 'core/browser/browser_policy_connector_ios.h', | |
| 53 'core/browser/browser_policy_connector_ios.mm', | |
| 54 'core/browser/cloud/message_util.cc', | |
| 55 'core/browser/cloud/message_util.h', | |
| 56 'core/browser/configuration_policy_handler.cc', | |
| 57 'core/browser/configuration_policy_handler.h', | |
| 58 'core/browser/configuration_policy_handler_list.cc', | |
| 59 'core/browser/configuration_policy_handler_list.h', | |
| 60 'core/browser/configuration_policy_pref_store.cc', | |
| 61 'core/browser/configuration_policy_pref_store.h', | |
| 62 'core/browser/policy_error_map.cc', | |
| 63 'core/browser/policy_error_map.h', | |
| 64 'core/browser/proxy_policy_handler.cc', | |
| 65 'core/browser/proxy_policy_handler.h', | |
| 66 'core/browser/url_blacklist_policy_handler.cc', | |
| 67 'core/browser/url_blacklist_policy_handler.h', | |
| 68 ], | |
| 69 'conditions': [ | |
| 70 ['OS=="android"', { | |
| 71 'sources': [ | |
| 72 'core/browser/android/android_combined_policy_provider.cc', | |
| 73 'core/browser/android/android_combined_policy_provider.h', | |
| 74 'core/browser/android/component_jni_registrar.cc', | |
| 75 'core/browser/android/component_jni_registrar.h', | |
| 76 'core/browser/android/policy_converter.cc', | |
| 77 'core/browser/android/policy_converter.h', | |
| 78 ], | |
| 79 'dependencies': [ 'policy_jni_headers' ] | |
| 80 }] | |
| 81 ] | |
| 82 }], | |
| 83 ], | |
| 84 } | |
| OLD | NEW |