Clarify and update GN build flags docs.
[chromium-blink-merge.git] / components / ownership.gypi
blob478425971d1f9e4a551d29f8b256dcbeb579b18d
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       ['use_nss_certs==1', {
39         'dependencies': [
40           '../build/linux/system.gyp:ssl',
41         ],
42       }],
43     ],
44   }],