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

Unified Diff: build/common.gypi

Issue 7831028: Compute pageScaleFactor on page so that fixed layout page fits width of window. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Small fix (workaround) to work on Aura Created 8 years, 12 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/renderer/chrome_render_view_observer.cc » ('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 bc6b71bb715788b15071d13364961839b434184b..59acf4f4fcd267873257f756fead38dfea3533aa 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -45,6 +45,8 @@
# Default setting for use_skia on mac platform.
# This is typically overridden in use_skia_on_mac.gypi.
'use_skia_on_mac%': 0,
+
+ 'enable_viewport%': 0,
darin (slow to review) 2012/01/12 19:18:02 I may not be the best reviewer for this change. I
},
# Copy conditionally-set variables out one scope.
'chromeos%': '<(chromeos)',
@@ -54,6 +56,7 @@
'use_openssl%': '<(use_openssl)',
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
'use_skia_on_mac%': '<(use_skia_on_mac)',
+ 'enable_viewport%': '<(enable_viewport)',
# Compute the architecture that we're building on.
'conditions': [
@@ -103,6 +106,7 @@
'use_ash%': '<(use_ash)',
'use_openssl%': '<(use_openssl)',
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
+ 'enable_viewport%': '<(enable_viewport)',
'use_skia_on_mac%': '<(use_skia_on_mac)',
# We used to provide a variable for changing how libraries were built.
@@ -382,6 +386,7 @@
'enable_pepper_threading%': '<(enable_pepper_threading)',
'chromeos%': '<(chromeos)',
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
+ 'enable_viewport%': '<(enable_viewport)',
'use_skia_on_mac%': '<(use_skia_on_mac)',
'use_xi2_mt%':'<(use_xi2_mt)',
'file_manager_extension%': '<(file_manager_extension)',
@@ -1078,6 +1083,9 @@
['enable_pepper_threading==1', {
'defines': ['ENABLE_PEPPER_THREADING'],
}],
+ ['enable_viewport==1', {
+ 'defines': ['ENABLE_VIEWPORT'],
+ }],
['configuration_policy==1', {
'defines': ['ENABLE_CONFIGURATION_POLICY'],
}],
« no previous file with comments | « no previous file | chrome/renderer/chrome_render_view_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698