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

Unified Diff: chrome/chrome.gyp

Issue 3116027: Add Mac output for policy template generator (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: final nits Created 10 years, 4 months 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
Index: chrome/chrome.gyp
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index bcbe33b35ca91760569936f86a1b4ad3980f965a..9ca394cddd1ab4fbd92f57cffb8c5422c4f08935 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -1796,6 +1796,10 @@
}],
],
},
+ ]}, # 'targets'
+ ], # OS=="win"
+ ['OS=="win" or OS=="mac"',
+ { 'targets': [
{
# policy_templates has different inputs and outputs, so it can't use
# the rules of chrome_strings
@@ -1836,6 +1840,9 @@
['use_titlecase_in_grd_files==1', {
'action': ['-D', 'use_titlecase'],
}],
+ ['OS == "mac"', {
+ 'action': ['-D', 'mac_bundle_id=<(mac_bundle_id)'],
+ }],
],
'message': 'Generating policy templates from <(input_path)',
},
@@ -1852,7 +1859,7 @@
],
},
]}, # 'targets'
- ], # OS=="win"
+ ], # OS=="win" or OS=="mac"
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
'targets': [{
'target_name': 'packed_resources',
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | tools/grit/grit/format/policy_templates/template_formatter.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698