Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Unified Diff: build/common.gypi

Issue 10082020: Metro/HiDPI: Use metro resource pak in metro mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/app/theme/theme_resources_metro_1x.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index db5bf662d30735af777d891a9887c975e5aea19a..5889045279c07e6e6605d650b9275e256b07c9cb 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -43,6 +43,9 @@
# Enable HiDPI support.
'enable_hidpi%': 0,
+
+ # Enable Metro support.
+ 'enable_metro%': 0,
},
# Copy conditionally-set variables out one scope.
'chromeos%': '<(chromeos)',
@@ -53,6 +56,7 @@
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
'enable_viewport%': '<(enable_viewport)',
'enable_hidpi%': '<(enable_hidpi)',
+ 'enable_metro%': '<(enable_metro)',
# Compute the architecture that we're building on.
'conditions': [
@@ -105,6 +109,7 @@
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
'enable_viewport%': '<(enable_viewport)',
'enable_hidpi%': '<(enable_hidpi)',
+ 'enable_metro%': '<(enable_metro)',
# We used to provide a variable for changing how libraries were built.
# This variable remains until we can clean up all the users.
@@ -503,6 +508,7 @@
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
'enable_viewport%': '<(enable_viewport)',
'enable_hidpi%': '<(enable_hidpi)',
+ 'enable_metro%': '<(enable_metro)',
'use_xi2_mt%':'<(use_xi2_mt)',
'file_manager_extension%': '<(file_manager_extension)',
'webui_task_manager%': '<(webui_task_manager)',
@@ -1301,6 +1307,9 @@
['enable_hidpi==1', {
'defines': ['ENABLE_HIDPI=1'],
}],
+ ['enable_metro==1', {
+ 'defines': ['ENABLE_METRO=1'],
+ }],
['fastbuild!=0', {
'conditions': [
« no previous file with comments | « no previous file | chrome/app/theme/theme_resources_metro_1x.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698