From 274eeb834395e7481a4c3d2d85378647f2975205 Mon Sep 17 00:00:00 2001 From: "pinkerton@chromium.org" Date: Tue, 15 Sep 2009 19:07:09 +0000 Subject: Give a document icon to Chromium for file types it can view when preview is turned off. BUG=19763 TEST=per bug. This might not appear to work given how LaunchServices caches and registers applications. You may need to test on a totally clean machine. Review URL: http://codereview.chromium.org/194116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26248 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/chrome.gyp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'chrome/chrome.gyp') diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index bdf8863..f84f6a2 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -3201,7 +3201,10 @@ # (e.g. "Chromium", "Chrome") 'conditions': [ ['branding=="Chrome"', { - 'mac_bundle_resources': ['app/theme/google_chrome/app.icns'], + 'mac_bundle_resources': [ + 'app/theme/google_chrome/app.icns', + 'app/theme/google_chrome/document.icns', + ], 'copies': [ { 'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Contents/MacOS', @@ -3213,7 +3216,10 @@ }, ], }, { # else: 'branding!="Chrome" - 'mac_bundle_resources': ['app/theme/chromium/app.icns'], + 'mac_bundle_resources': [ + 'app/theme/chromium/app.icns', + 'app/theme/chromium/document.icns', + ], 'copies': [ { 'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Contents/MacOS', -- cgit v1.1