summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authorgfeher@chromium.org <gfeher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 09:35:55 +0000
committergfeher@chromium.org <gfeher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 09:35:55 +0000
commita47f69daa745d15b8c831329569137c43d5175ef (patch)
treeeabd9c25973901eafcf0806e8e58772fc4738daa /chrome/chrome.gyp
parent084ac015715986e82567b269ef13491c25d8fdcf (diff)
downloadchromium_src-a47f69daa745d15b8c831329569137c43d5175ef.zip
chromium_src-a47f69daa745d15b8c831329569137c43d5175ef.tar.gz
chromium_src-a47f69daa745d15b8c831329569137c43d5175ef.tar.bz2
Add Mac output for policy template generator
Writer for plist manifest and string table files, and custom strings for the Mac templates. BUG=49316 TEST=plist_writer_unittest.*, plist_strings_writer_unittest.* (grit) Review URL: http://codereview.chromium.org/3116027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57307 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp9
1 files changed, 8 insertions, 1 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index bcbe33b..9ca394c 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',