Home | History | Annotate | Download | only in policy
      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/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     'bookmarks_browser',
     14     'components_strings.gyp:components_strings',
     15     'keyed_service_core',
     16     'pref_registry',
     17     'url_matcher',
     18   ],
     19   'defines': [
     20     'POLICY_COMPONENT_IMPLEMENTATION',
     21   ],
     22   'include_dirs': [
     23     '..',
     24   ],
     25   'sources': [
     26     # Note that these sources are always included, even for builds that
     27     # disable policy. Most source files should go in the conditional
     28     # sources list below.
     29     # url_blacklist_manager.h is used by managed mode.
     30     'core/browser/url_blacklist_manager.cc',
     31     'core/browser/url_blacklist_manager.h',
     32   ],
     33   'conditions': [
     34     ['configuration_policy==1', {
     35       'dependencies': [
     36         'autofill_core_browser',
     37         'autofill_core_common',
     38         'cloud_policy_proto',
     39         'policy',
     40       ],
     41       'sources': [
     42         'core/browser/autofill_policy_handler.cc',
     43         'core/browser/autofill_policy_handler.h',
     44         'core/browser/browser_policy_connector.cc',
     45         'core/browser/browser_policy_connector.h',
     46         'core/browser/browser_policy_connector_ios.h',
     47         'core/browser/browser_policy_connector_ios.mm',
     48         'core/browser/cloud/message_util.cc',
     49         'core/browser/cloud/message_util.h',
     50         'core/browser/configuration_policy_handler.cc',
     51         'core/browser/configuration_policy_handler.h',
     52         'core/browser/configuration_policy_handler_list.cc',
     53         'core/browser/configuration_policy_handler_list.h',
     54         'core/browser/configuration_policy_pref_store.cc',
     55         'core/browser/configuration_policy_pref_store.h',
     56         'core/browser/managed_bookmarks_tracker.cc',
     57         'core/browser/managed_bookmarks_tracker.h',
     58         'core/browser/policy_error_map.cc',
     59         'core/browser/policy_error_map.h',
     60         'core/browser/url_blacklist_policy_handler.cc',
     61         'core/browser/url_blacklist_policy_handler.h',
     62       ],
     63     }],
     64   ],
     65 }
     66