Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: chrome/policy.gypi

Issue 1133853005: Fix path_parser dependency on policy component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change also corresponding GYP files Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« chrome/browser/policy/BUILD.gn ('K') | « chrome/chrome_dll.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
- ],
- },
+ }],
],
}
« chrome/browser/policy/BUILD.gn ('K') | « chrome/chrome_dll.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698