| Index: chrome/policy.gypi
|
| diff --git a/chrome/policy.gypi b/chrome/policy.gypi
|
| index 6d81c9c89ec1d9ddde49fe23cfff5c4425ab086f..656838a4e99d0dfaa9d5690d082321a365983295 100644
|
| --- a/chrome/policy.gypi
|
| +++ b/chrome/policy.gypi
|
| @@ -3,25 +3,29 @@
|
| # found in the LICENSE file.
|
|
|
| {
|
| - 'targets': [
|
| - {
|
| - # GN version: //chrome/browser/policy:path_parser
|
| - 'target_name': 'policy_path_parser',
|
| - 'type': 'static_library',
|
| - 'dependencies': [
|
| - '../base/base.gyp:base',
|
| - '../chrome/common_constants.gyp:common_constants',
|
| - '../components/components.gyp:policy',
|
| + 'conditions': [
|
| + ['configuration_policy==1', {
|
| + 'targets': [
|
| + {
|
| + # GN version: //chrome/browser/policy:path_parser
|
| + 'target_name': 'policy_path_parser',
|
| + 'type': 'static_library',
|
| + 'dependencies': [
|
| + '../base/base.gyp:base',
|
| + '../chrome/common_constants.gyp:common_constants',
|
| + '../components/components.gyp:policy',
|
| + ],
|
| + 'include_dirs': [
|
| + '..',
|
| + ],
|
| + 'sources': [
|
| + 'browser/policy/policy_path_parser.h',
|
| + 'browser/policy/policy_path_parser_linux.cc',
|
| + 'browser/policy/policy_path_parser_mac.mm',
|
| + 'browser/policy/policy_path_parser_win.cc',
|
| + ],
|
| + },
|
| ],
|
| - 'include_dirs': [
|
| - '..',
|
| - ],
|
| - 'sources': [
|
| - 'browser/policy/policy_path_parser.h',
|
| - 'browser/policy/policy_path_parser_linux.cc',
|
| - 'browser/policy/policy_path_parser_mac.mm',
|
| - 'browser/policy/policy_path_parser_win.cc',
|
| - ],
|
| - },
|
| + }],
|
| ],
|
| }
|
|
|