OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [{ | 6 'targets': [{ |
7 'target_name': 'ownership', | 7 'target_name': 'ownership', |
8 'type': '<(component)', | 8 'type': '<(component)', |
9 'dependencies': [ | 9 'dependencies': [ |
10 '<(DEPTH)/base/base.gyp:base', | 10 '<(DEPTH)/base/base.gyp:base', |
11 '<(DEPTH)/components/components.gyp:cloud_policy_proto', | |
12 '<(DEPTH)/components/components.gyp:keyed_service_core', | 11 '<(DEPTH)/components/components.gyp:keyed_service_core', |
13 '<(DEPTH)/components/components.gyp:policy', | |
14 '<(DEPTH)/components/components.gyp:policy_component_common', | 12 '<(DEPTH)/components/components.gyp:policy_component_common', |
15 '<(DEPTH)/crypto/crypto.gyp:crypto', | 13 '<(DEPTH)/crypto/crypto.gyp:crypto', |
16 ], | 14 ], |
17 'defines': [ | 15 'defines': [ |
18 'OWNERSHIP_IMPLEMENTATION', | 16 'OWNERSHIP_IMPLEMENTATION', |
19 ], | 17 ], |
20 'include_dirs': [ | 18 'include_dirs': [ |
21 '<(SHARED_INTERMEDIATE_DIR)', | 19 '<(SHARED_INTERMEDIATE_DIR)', |
22 ], | 20 ], |
23 'sources': [ | 21 'sources': [ |
24 'ownership/mock_owner_key_util.cc', | 22 'ownership/mock_owner_key_util.cc', |
25 'ownership/mock_owner_key_util.h', | 23 'ownership/mock_owner_key_util.h', |
26 'ownership/owner_key_util.cc', | 24 'ownership/owner_key_util.cc', |
27 'ownership/owner_key_util.h', | 25 'ownership/owner_key_util.h', |
28 'ownership/owner_key_util_impl.cc', | 26 'ownership/owner_key_util_impl.cc', |
29 'ownership/owner_key_util_impl.h', | 27 'ownership/owner_key_util_impl.h', |
30 'ownership/owner_settings_service.cc', | 28 'ownership/owner_settings_service.cc', |
31 'ownership/owner_settings_service.h', | 29 'ownership/owner_settings_service.h', |
32 ], | 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 ], |
33 }], | 39 }], |
34 } | 40 } |
OLD | NEW |