From 8973c3a2aa49807495c55cb8ff6e2e7b31621eaf Mon Sep 17 00:00:00 2001 From: "sail@chromium.org" <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Wed, 25 Apr 2012 02:24:18 +0000 Subject: Metro/HiDPI: Use metro resource pak in metro mode This CL does the following: - add a new enable_metro build flag - if the build flag is set then add a new metro icon resource pak to chrome - at run time if Chrome is running in metro mode AND ENABLE_METRO is set then use the metro icon resource pak BUG=114311 TEST= Review URL: http://codereview.chromium.org/10082020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133843 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/chrome_resources.gyp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'chrome/chrome_resources.gyp') diff --git a/chrome/chrome_resources.gyp b/chrome/chrome_resources.gyp index 18f88fb..31de62b 100644 --- a/chrome/chrome_resources.gyp +++ b/chrome/chrome_resources.gyp @@ -217,6 +217,13 @@ }, 'includes': [ '../build/grit_action.gypi' ], }, + { + 'action_name': 'theme_resources_metro_1x', + 'variables': { + 'grit_grd_file': 'app/theme/theme_resources_metro_1x.grd', + }, + 'includes': [ '../build/grit_action.gypi' ], + }, ], 'includes': [ '../build/grit_target.gypi' ], }, @@ -260,6 +267,16 @@ }, ], }], + ['enable_metro == 1', { + 'copies': [ + { + 'destination': '<(PRODUCT_DIR)', + 'files': [ + '<(grit_out_dir)/theme_resources_metro_1x.pak', + ], + }, + ], + }], ], }, { -- cgit v1.1