ygorshenin | 39e3678 | 2014-08-29 13:09:51 | [diff] [blame] | 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. |
| 4 | |
| 5 | { |
davidben | ee92e38 | 2015-05-26 20:25:45 | [diff] [blame] | 6 | 'conditions': [ |
| 7 | ['chromeos==1', { |
| 8 | 'targets': [{ |
| 9 | 'target_name': 'ownership', |
| 10 | 'type': '<(component)', |
eirik | bf865e04 | 2014-11-12 09:09:15 | [diff] [blame] | 11 | 'dependencies': [ |
davidben | ee92e38 | 2015-05-26 20:25:45 | [diff] [blame] | 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': [ |
svaldez | d4fed18 | 2016-05-02 16:21:11 | [diff] [blame] | 42 | '../build/linux/system.gyp:nss', |
davidben | ee92e38 | 2015-05-26 20:25:45 | [diff] [blame] | 43 | ], |
| 44 | }], |
eirik | bf865e04 | 2014-11-12 09:09:15 | [diff] [blame] | 45 | ], |
| 46 | }], |
davidben | ee92e38 | 2015-05-26 20:25:45 | [diff] [blame] | 47 | }], |
| 48 | ], |
ygorshenin | 39e3678 | 2014-08-29 13:09:51 | [diff] [blame] | 49 | } |