summaryrefslogtreecommitdiffstats
path: root/base/base.gypi
diff options
context:
space:
mode:
authoracolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-24 01:12:22 +0000
committeracolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-24 01:12:22 +0000
commit7f5b892399727380e06d084189795b1dc7669d37 (patch)
treee12fe3bb6409afaf1a1e0d330652684b255bfd07 /base/base.gypi
parent2c95e24628e8d61bfe77e0d0d6ef1d75b85bfd7c (diff)
downloadchromium_src-7f5b892399727380e06d084189795b1dc7669d37.zip
chromium_src-7f5b892399727380e06d084189795b1dc7669d37.tar.gz
chromium_src-7f5b892399727380e06d084189795b1dc7669d37.tar.bz2
Revert 147988 - Upgrade AlignedMemory to support dynamic allocations.
Adds two new methods: AlignedAlloc and AlignedFree for creating and destroying dynamic aligned allocations respectively. Also adds a helper class, ScopedPtrAlignedFree, for use with scoped_ptr_malloc. AlignedAlloc uses posix_memalign for OS X (now that we're targeting 10.6), Linux and _aligned_alloc() on Windows. Android and NaCl use memalign() since they do not expose posix_memalign() and memalign() is safe to use with free() on those platforms. Also hacks around a bug in Visual C++ where __alignof will sometimes return zero: http://connect.microsoft.com/VisualStudio/feedback/details/682695/c-alignof-fails-to-properly-evalute-alignment-of-dependent-types BUG=none TEST=base_unittests + new test, trybots. Review URL: https://chromiumcodereview.appspot.com/10796020 TBR=dalecurtis@chromium.org Review URL: https://chromiumcodereview.appspot.com/10817021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148016 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gypi')
-rw-r--r--base/base.gypi2
1 files changed, 0 insertions, 2 deletions
diff --git a/base/base.gypi b/base/base.gypi
index 4d16af0..5fdbe97 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -203,8 +203,6 @@
'mac/scoped_sending_event.mm',
'mach_ipc_mac.h',
'mach_ipc_mac.mm',
- 'memory/aligned_memory.cc',
- 'memory/aligned_memory.h',
'memory/linked_ptr.h',
'memory/mru_cache.h',
'memory/raw_scoped_refptr_mismatch_checker.h',