diff options
author | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-25 02:24:18 +0000 |
---|---|---|
committer | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-25 02:24:18 +0000 |
commit | 8973c3a2aa49807495c55cb8ff6e2e7b31621eaf (patch) | |
tree | 3cd138dc8854e3e45b6cbc8933787d1598a3d4de /chrome/chrome_resources.gyp | |
parent | 42d194d32e7c310414769a11e7eae3381ff90abf (diff) | |
download | chromium_src-8973c3a2aa49807495c55cb8ff6e2e7b31621eaf.zip chromium_src-8973c3a2aa49807495c55cb8ff6e2e7b31621eaf.tar.gz chromium_src-8973c3a2aa49807495c55cb8ff6e2e7b31621eaf.tar.bz2 |
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
Diffstat (limited to 'chrome/chrome_resources.gyp')
-rw-r--r-- | chrome/chrome_resources.gyp | 17 |
1 files changed, 17 insertions, 0 deletions
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', + ], + }, + ], + }], ], }, { |