OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2013 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 { |
| 6 'targets': [ |
| 7 { |
| 8 'target_name': 'policy_component', |
| 9 'type': '<(component)', |
| 10 'dependencies': [ |
| 11 '../base/base.gyp:base', |
| 12 'json_schema', |
| 13 ], |
| 14 'defines': [ |
| 15 'POLICY_COMPONENT_IMPLEMENTATION', |
| 16 ], |
| 17 'include_dirs': [ |
| 18 '..', |
| 19 ], |
| 20 'conditions': [ |
| 21 ['configuration_policy==1', { |
| 22 'sources': [ |
| 23 'policy/core/common/policy_schema.cc', |
| 24 'policy/core/common/policy_schema.h', |
| 25 'policy/policy_export.h', |
| 26 ], |
| 27 }, { # configuration_policy==0 |
| 28 # The target 'policy_component' always exists. Later it will include |
| 29 # some stubs when configuration_policy==0. For now this stub file is |
| 30 # compiled so that an output is produced, otherwise the shared build |
| 31 # breaks on iOS. |
| 32 # TODO(joaodasilva): remove this comment and the temporary stub after |
| 33 # moving one of the real stubs. http://crbug.com/271392 |
| 34 'sources': [ |
| 35 'policy/stub_to_remove.cc', |
| 36 ], |
| 37 }], |
| 38 ], |
| 39 }, |
| 40 ], |
| 41 } |
OLD | NEW |