summaryrefslogtreecommitdiffstats
path: root/courgette/courgette.gyp
diff options
context:
space:
mode:
authorhuangs <huangs@chromium.org>2015-12-07 17:27:46 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-08 01:28:46 +0000
commit7a2fea2555a8014c4bdcdbc1119b97f98e057248 (patch)
treec16e6282db8e51c0d6f37adde6b7effc14a20b09 /courgette/courgette.gyp
parent56c43a002072a04abe25a77f400a1e3425ab8991 (diff)
downloadchromium_src-7a2fea2555a8014c4bdcdbc1119b97f98e057248.zip
chromium_src-7a2fea2555a8014c4bdcdbc1119b97f98e057248.tar.gz
chromium_src-7a2fea2555a8014c4bdcdbc1119b97f98e057248.tar.bz2
[Courgette] Initial Implementation of LabelManager
This is part of the effort to reduce Courgette's peak memory. Main changes: - Moving Label to image_utils.h, and change Label::count_ from int to int32. - Adding utility class ConsecutiveRangeVisitor, with tests. - Adding LabelManager, with tests. The new code is not yet used in production. Review URL: https://codereview.chromium.org/1491703003 Cr-Commit-Position: refs/heads/master@{#363688}
Diffstat (limited to 'courgette/courgette.gyp')
-rw-r--r--courgette/courgette.gyp5
1 files changed, 5 insertions, 0 deletions
diff --git a/courgette/courgette.gyp b/courgette/courgette.gyp
index e5ec783..788d4ea 100644
--- a/courgette/courgette.gyp
+++ b/courgette/courgette.gyp
@@ -11,6 +11,7 @@
'adjustment_method.h',
'assembly_program.cc',
'assembly_program.h',
+ 'consecutive_range_visitor.h',
'courgette.h',
'crc.cc',
'crc.h',
@@ -35,6 +36,8 @@
'ensemble_apply.cc',
'ensemble_create.cc',
'image_utils.h',
+ 'label_manager.cc',
+ 'label_manager.h',
'memory_allocator.cc',
'memory_allocator.h',
'region.h',
@@ -102,6 +105,7 @@
'bsdiff_memory_unittest.cc',
'base_test_unittest.cc',
'base_test_unittest.h',
+ 'consecutive_range_visitor_unittest.cc',
'difference_estimator_unittest.cc',
'disassembler_elf_32_x86_unittest.cc',
'disassembler_win32_x86_unittest.cc',
@@ -110,6 +114,7 @@
'encode_decode_unittest.cc',
'ensemble_unittest.cc',
'image_utils_unittest.cc',
+ 'label_manager_unittest.cc',
'memory_allocator_unittest.cc',
'rel32_finder_win32_x86_unittest.cc',
'streams_unittest.cc',