Componentize VariationsService into //components/variations/service
[chromium-blink-merge.git] / components / ownership.gypi
blob9415ade617af69d6a20e1ec34ee3854283ca2a21
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   'conditions': [
7     ['chromeos==1', {
8       'targets': [{
9         'target_name': 'ownership',
10         'type': '<(component)',
11         'dependencies': [
12           '<(DEPTH)/base/base.gyp:base',
13           '<(DEPTH)/components/components.gyp:keyed_service_core',
14           '<(DEPTH)/components/components.gyp:policy_component_common',
15           '<(DEPTH)/crypto/crypto.gyp:crypto',
16         ],
17         'defines': [
18           'OWNERSHIP_IMPLEMENTATION',
19         ],
20         'include_dirs': [
21           '<(SHARED_INTERMEDIATE_DIR)',
22         ],
23         'sources': [
24           'ownership/mock_owner_key_util.cc',
25           'ownership/mock_owner_key_util.h',
26           'ownership/owner_key_util.cc',
27           'ownership/owner_key_util.h',
28           'ownership/owner_key_util_impl.cc',
29           'ownership/owner_key_util_impl.h',
30           'ownership/owner_settings_service.cc',
31           'ownership/owner_settings_service.h',
32          ],
33         'conditions': [
34           ['configuration_policy==1', {
35             'dependencies': [
36               '<(DEPTH)/components/components.gyp:cloud_policy_proto',
37               '<(DEPTH)/components/components.gyp:policy',
38             ],
39           }],
40           ['use_nss_certs==1', {
41             'dependencies': [
42               '../build/linux/system.gyp:ssl',
43             ],
44           }],
45         ],
46       }],
47     }],
48   ],