summaryrefslogtreecommitdiffstats
path: root/components/ownership.gypi
blob: 0b95fe22930606b1209ba642c2d35b70a2eb4d70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [{
    'target_name': 'ownership',
    'type': '<(component)',
    'dependencies': [
      '<(DEPTH)/base/base.gyp:base',
      '<(DEPTH)/components/components.gyp:keyed_service_core',
      '<(DEPTH)/components/components.gyp:policy_component_common',
      '<(DEPTH)/crypto/crypto.gyp:crypto',
    ],
    'defines': [
      'OWNERSHIP_IMPLEMENTATION',
    ],
    'include_dirs': [
      '<(SHARED_INTERMEDIATE_DIR)',
    ],
    'sources': [
      'ownership/mock_owner_key_util.cc',
      'ownership/mock_owner_key_util.h',
      'ownership/owner_key_util.cc',
      'ownership/owner_key_util.h',
      'ownership/owner_key_util_impl.cc',
      'ownership/owner_key_util_impl.h',
      'ownership/owner_settings_service.cc',
      'ownership/owner_settings_service.h',
     ],
    'conditions': [
      ['configuration_policy==1', {
        'dependencies': [
          '<(DEPTH)/components/components.gyp:cloud_policy_proto',
          '<(DEPTH)/components/components.gyp:policy',
        ],
      }],
    ],
  }],
}