OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 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 'conditions': [ |
7 { | 7 ['configuration_policy==1', { |
8 # GN version: //chrome/browser/policy:path_parser | 8 'targets': [ |
9 'target_name': 'policy_path_parser', | 9 { |
10 'type': 'static_library', | 10 # GN version: //chrome/browser/policy:path_parser |
11 'dependencies': [ | 11 'target_name': 'policy_path_parser', |
12 '../base/base.gyp:base', | 12 'type': 'static_library', |
13 '../chrome/common_constants.gyp:common_constants', | 13 'dependencies': [ |
14 '../components/components.gyp:policy', | 14 '../base/base.gyp:base', |
| 15 '../chrome/common_constants.gyp:common_constants', |
| 16 '../components/components.gyp:policy', |
| 17 ], |
| 18 'include_dirs': [ |
| 19 '..', |
| 20 ], |
| 21 'sources': [ |
| 22 'browser/policy/policy_path_parser.h', |
| 23 'browser/policy/policy_path_parser_linux.cc', |
| 24 'browser/policy/policy_path_parser_mac.mm', |
| 25 'browser/policy/policy_path_parser_win.cc', |
| 26 ], |
| 27 }, |
15 ], | 28 ], |
16 'include_dirs': [ | 29 }], |
17 '..', | |
18 ], | |
19 'sources': [ | |
20 'browser/policy/policy_path_parser.h', | |
21 'browser/policy/policy_path_parser_linux.cc', | |
22 'browser/policy/policy_path_parser_mac.mm', | |
23 'browser/policy/policy_path_parser_win.cc', | |
24 ], | |
25 }, | |
26 ], | 30 ], |
27 } | 31 } |
OLD | NEW |