Use component installer mechanism instead of extensions for supervised user whitelists.
[chromium-blink-merge.git] / components / ownership.gypi
blob0b95fe22930606b1209ba642c2d35b70a2eb4d70
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     'target_name': 'ownership',
8     'type': '<(component)',
9     'dependencies': [
10       '<(DEPTH)/base/base.gyp:base',
11       '<(DEPTH)/components/components.gyp:keyed_service_core',
12       '<(DEPTH)/components/components.gyp:policy_component_common',
13       '<(DEPTH)/crypto/crypto.gyp:crypto',
14     ],
15     'defines': [
16       'OWNERSHIP_IMPLEMENTATION',
17     ],
18     'include_dirs': [
19       '<(SHARED_INTERMEDIATE_DIR)',
20     ],
21     'sources': [
22       'ownership/mock_owner_key_util.cc',
23       'ownership/mock_owner_key_util.h',
24       'ownership/owner_key_util.cc',
25       'ownership/owner_key_util.h',
26       'ownership/owner_key_util_impl.cc',
27       'ownership/owner_key_util_impl.h',
28       'ownership/owner_settings_service.cc',
29       'ownership/owner_settings_service.h',
30      ],
31     'conditions': [
32       ['configuration_policy==1', {
33         'dependencies': [
34           '<(DEPTH)/components/components.gyp:cloud_policy_proto',
35           '<(DEPTH)/components/components.gyp:policy',
36         ],
37       }],
38     ],
39   }],