From 2741f8bec27798a90d12991bab36a7ebb127b7f8 Mon Sep 17 00:00:00 2001 From: "reveman@chromium.org" Date: Mon, 16 Dec 2013 18:02:04 +0000 Subject: [PATCH] base: Refactor DiscardableMemoryProvider to build and be tested on all platforms. This also moves DiscardableMemory::CreateLockedMemory implementations to platform specific files and allows us to choose what implementation to use at runtime. No change in behavior, refactor only. BUG=327516 TEST=base_unitttest --gtest_filter=DiscardableMemory* Review URL: https://codereview.chromium.org/111713008 git-svn-id: http://src.chromium.org/svn/trunk/src/build@240924 4ff67af0-8c30-449e-8e8b-ad334ec8d88c --- common.gypi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.gypi b/common.gypi index bc1bc2ce0..4a81b3e96 100644 --- a/common.gypi +++ b/common.gypi @@ -638,7 +638,7 @@ 'proprietary_codecs%': 0, }], - ['OS=="mac"', { + ['OS=="mac" or OS=="ios"', { 'native_discardable_memory%': 1, 'native_memory_pressure_signals%': 1, }],