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

Unified Diff: build/common.gypi

Issue 10025004: Floating point based Point/Size/Rect and Insets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 | ui/gfx/insets_f.h » ('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 d56a3b5d02a6c87a6c0e00b7ec696a53d2127aa1..8ed67967fa8b6f26b621a9c2fe502a5a1c550dfa 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -29,6 +29,9 @@
# Whether or not we are building the Ash shell.
'use_ash%': 0,
+ # Enable DIP (Density Independent Pixels) support.
+ 'enable_dip%': 0,
+
# Use OpenSSL instead of NSS. Under development: see http://crbug.com/62803
'use_openssl%': 0,
@@ -42,6 +45,7 @@
'chromeos%': '<(chromeos)',
'use_aura%': '<(use_aura)',
'use_ash%': '<(use_ash)',
+ 'enable_dip%': '<(enable_dip)',
'use_openssl%': '<(use_openssl)',
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
'enable_viewport%': '<(enable_viewport)',
@@ -87,6 +91,7 @@
'toolkit_views%': '<(toolkit_views)',
'use_aura%': '<(use_aura)',
'use_ash%': '<(use_ash)',
+ 'enable_dip%': '<(enable_dip)',
'use_openssl%': '<(use_openssl)',
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
'enable_viewport%': '<(enable_viewport)',
@@ -461,6 +466,7 @@
'ui_compositor_image_transport%': '<(ui_compositor_image_transport)',
'use_aura%': '<(use_aura)',
'use_ash%': '<(use_ash)',
+ 'enable_dip%': '<(enable_dip)',
'use_openssl%': '<(use_openssl)',
'use_nss%': '<(use_nss)',
'os_bsd%': '<(os_bsd)',
@@ -1184,6 +1190,9 @@
['use_ash==1', {
'defines': ['USE_ASH=1'],
}],
+ ['enable_dip==1', {
+ 'defines': ['ENABLE_DIP'],
+ }],
['use_nss==1', {
'defines': ['USE_NSS=1'],
}],
« no previous file with comments | « no previous file | ui/gfx/insets_f.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698