Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 298ea62ea2891486591df23f369185009057061e..fa746e5c3925bbfebc63109f5d487f466e17d1f1 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -42,6 +42,9 @@ |
# Disable Virtual keyboard support by default. |
'use_virtual_keyboard%': 0, |
+ # Disable viewport meta tag by default. |
+ 'enable_viewport%': 0, |
+ |
# Default setting for use_skia on mac platform. |
# This is typically overridden in use_skia_on_mac.gypi. |
'use_skia_on_mac%': 0, |
@@ -53,6 +56,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)', |
# Compute the architecture that we're building on. |
@@ -95,6 +99,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. |
@@ -431,6 +436,7 @@ |
'chromeos%': '<(chromeos)', |
'chromeos_gtk%': '<(chromeos_gtk)', |
'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)', |
@@ -1119,6 +1125,9 @@ |
['enable_pepper_threading==1', { |
'defines': ['ENABLE_PEPPER_THREADING'], |
}], |
+ ['enable_viewport==1', { |
+ 'defines': ['ENABLE_VIEWPORT'], |
+ }], |
['configuration_policy==1', { |
'defines': ['ENABLE_CONFIGURATION_POLICY'], |
}], |