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

Unified Diff: base/base.gyp

Issue 17106004: Add discardable memory emulation for non-android/mac platforms (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 4 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 | base/base.gypi » ('j') | base/memory/discardable_memory.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base.gyp
diff --git a/base/base.gyp b/base/base.gyp
index 4b92a917e5f6045471a24a2697f81308be6d0ab2..5136b1b2787166c2395e9be4a022acfa4040441f 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -514,6 +514,7 @@
'md5_unittest.cc',
'memory/aligned_memory_unittest.cc',
'memory/discardable_memory_unittest.cc',
+ 'memory/discardable_memory_provider_unittest.cc',
'memory/linked_ptr_unittest.cc',
'memory/ref_counted_memory_unittest.cc',
'memory/ref_counted_unittest.cc',
@@ -806,6 +807,11 @@
'third_party/nspr/nspr.gyp:nspr',
],
}],
+ ['<(native_discardable_memory)==1', {
+ 'sources!': [
+ 'memory/discardable_memory_provider_unittest.cc',
+ ],
+ }],
], # conditions
'target_conditions': [
['OS == "ios" and _toolset != "host"', {
« no previous file with comments | « no previous file | base/base.gypi » ('j') | base/memory/discardable_memory.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698