Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 72e9ecb7de02588a293fdd8067dd9c2eaf85639c..87e64276e3004a1164b3c5aeca7d6193fe3d624d 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -530,6 +530,11 @@ |
'native_memory_pressure_signals%': 1, |
}], |
+ ['OS=="mac"', { |
+ 'native_discardable_memory%': 1, |
+ 'native_memory_pressure_signals%': 1, |
+ }], |
+ |
# Enable autofill dialog for Mac and Views-enabled platforms for now. |
['toolkit_views==1 or OS=="mac"', { |
'enable_autofill_dialog%': 1 |
@@ -2017,6 +2022,12 @@ |
['enable_hidpi==1', { |
'defines': ['ENABLE_HIDPI=1'], |
}], |
+ ['native_discardable_memory==1', { |
+ 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], |
+ }], |
+ ['native_memory_pressure_signals==1', { |
+ 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], |
+ }], |
['fastbuild!=0', { |
'xcode_settings': { |
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
@@ -3447,12 +3458,6 @@ |
'-B<(PRODUCT_DIR)/../../third_party/gold', |
], |
}], |
- ['native_discardable_memory', { |
- 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], |
- }], |
- ['native_memory_pressure_signals', { |
- 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], |
- }], |
], |
}, |
}], |