summaryrefslogtreecommitdiffstats
path: root/components/ownership.gypi
blob: 9415ade617af69d6a20e1ec34ee3854283ca2a21 (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
41
42
43
44
45
46
47
48
49
# 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.

{
  'conditions': [
    ['chromeos==1', {
      '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',
            ],
          }],
          ['use_nss_certs==1', {
            'dependencies': [
              '../build/linux/system.gyp:ssl',
            ],
          }],
        ],
      }],
    }],
  ],
}