summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_exe.gypi
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-18 19:10:45 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-18 19:10:45 +0000
commit0ada4ca6c2aad75acb016c393b2a67908979f5c8 (patch)
treef55bdbaf383c4bd16f03f2c92855afeefdf638c8 /chrome/chrome_exe.gypi
parent8211f5db88cac410e9a74952b9569da0f47f8b59 (diff)
downloadchromium_src-0ada4ca6c2aad75acb016c393b2a67908979f5c8.zip
chromium_src-0ada4ca6c2aad75acb016c393b2a67908979f5c8.tar.gz
chromium_src-0ada4ca6c2aad75acb016c393b2a67908979f5c8.tar.bz2
[Mac] Add PDF files to the list of document types Chrome can open when building with internal_pdf=1.
BUG=80558 TEST=Build branded Chrome with the PDF plugin. Right click on a .pdf file. Chrome is an option with which to open it. Review URL: http://codereview.chromium.org/7045004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85792 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_exe.gypi')
-rw-r--r--chrome/chrome_exe.gypi4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/chrome_exe.gypi b/chrome/chrome_exe.gypi
index a2f0a49..15ae7bb 100644
--- a/chrome/chrome_exe.gypi
+++ b/chrome/chrome_exe.gypi
@@ -384,12 +384,14 @@
# Keystone keys from this plist and not the framework's, and
# the ticket will reference this Info.plist to determine the tag
# of the installed product. Use -s1 to include Subversion
- # information.
+ # information. The -p flag controls whether to insert PDF as a
+ # supported type identifier that can be opened.
'postbuild_name': 'Tweak Info.plist',
'action': ['<(tweak_info_plist_path)',
'-b0',
'-k<(mac_keystone)',
'-s1',
+ '-p<(internal_pdf)',
'<(branding)',
'<(mac_bundle_id)'],
},