| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index b842cab736b9e854348e8ffccb4b3c85ccfa3360..9e2e5d2aef318cc3d470f0572941c0f16d5822cb 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -555,6 +555,11 @@
|
| 'proprietary_codecs%': 0,
|
| }],
|
|
|
| + ['OS=="mac"', {
|
| + 'native_discardable_memory%': 1,
|
| + 'native_memory_pressure_signals%': 1,
|
| + }],
|
| +
|
| # Enable autofill dialog for Android, Mac and Views-enabled platforms.
|
| ['toolkit_views==1 or (OS=="android" and android_webview_build==0) or OS=="mac"', {
|
| 'enable_autofill_dialog%': 1
|
| @@ -2049,6 +2054,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',
|
| @@ -3465,12 +3476,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'],
|
| - }],
|
| ],
|
| },
|
| }],
|
|
|